package
0.0.0-20230426155534-9c7f65dee0d1
Repository: https://github.com/secopsbear/cmdhelp.git
Documentation: pkg.go.dev
# Functions
CheckTableExist check if the table "helpcommnds" exist in the master database.
CreateTable creates helpcommands table in the database.
DeleteCommand deletes the row from the helpcommands table based on the row id provided.
DisplayAllNotes prints all the rows in the helpcommands table.
DisplaySelectedCommand retuns slice to ToolsData based on search string.
ExtractToolsList returns a slice containg the list of tools.
InsertNote inserts tool command with gist in the helpcommands table.
OpenDatabaseConn opens database connection and ping's the database and returns db connection.
DisplayCatNotes returns a slice of ToolsData after performing search based on the string provided.
DisplayCatNotes returns a slice of ToolsData after performing search based on the string provided.
unique take a slice of sting and returns a unique slice of strings (remove duplicates).