Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUpdate ¶
func CheckUpdate()
request the version.txt file in root level as raw text, and compare it to installed version TODO: write auto updater.
func DeepEye ¶
func DeepEye(query Query)
@params query Query: a type Query variable containing the options of our search query @return void : output the matches depends on the options given + results stats in the end
func PrintVersion ¶
func PrintVersion()
print the current installed version of DeepEye defined in /src/config/constants.go
func SpotAndMargin ¶
@params txt string : original text to search and extract from @params subs []string : list of strings, each represent a keyword to search with @params margin int : a number >= -1 @return []string : list of strings containing the substring match in 'txt' highlighted in yellow
Types ¶
This section is empty.