lib

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2023 License: MIT Imports: 11 Imported by: 0

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

func SpotAndMargin(txt string, subs []string, margin int) []string

@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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL