Documentation
¶
Index ¶
- func AddFromEditor(name string, enable bool)
- func AddFromFiles(files []string, enable bool, keepFileName bool)
- func DeleteSnippetsFromNames(names []string)
- func DeleteSnippetsFromSelect()
- func DisableGormDebugging()
- func DisableSnippetsFromNames(names []string)
- func DisableSnippetsFromSelect()
- func EnableSnippetsFromNames(names []string)
- func EnableSnippetsFromSelect()
- func FoundSnippet(name string) (r defines.ShellSnippet, e error)
- func GetAllEnabledSnippet() (rs []defines.ShellSnippet, e error)
- func GetAllSnippets() (rs []defines.ShellSnippet, err error)
- func InitDB() error
- func InitRC()
- func ListAndPrint()
- func PrintTarget(r defines.ShellSnippet)
- func SaveSnippet(sn defines.ShellSnippet)
- func SelectSnippet() (r defines.ShellSnippet)
- func SelectSnippets() (rs []defines.ShellSnippet)
- func SelectSnippetsReturnStringSlice() (rs []string)
- func UpdateEditor(name string, enable bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFromEditor ¶
func AddFromFiles ¶
func DeleteSnippetsFromNames ¶
func DeleteSnippetsFromNames(names []string)
func DeleteSnippetsFromSelect ¶
func DeleteSnippetsFromSelect()
func DisableGormDebugging ¶
func DisableGormDebugging()
func DisableSnippetsFromNames ¶
func DisableSnippetsFromNames(names []string)
func DisableSnippetsFromSelect ¶
func DisableSnippetsFromSelect()
func EnableSnippetsFromNames ¶
func EnableSnippetsFromNames(names []string)
func EnableSnippetsFromSelect ¶
func EnableSnippetsFromSelect()
func FoundSnippet ¶
func FoundSnippet(name string) (r defines.ShellSnippet, e error)
func GetAllEnabledSnippet ¶
func GetAllEnabledSnippet() (rs []defines.ShellSnippet, e error)
func GetAllSnippets ¶
func GetAllSnippets() (rs []defines.ShellSnippet, err error)
func ListAndPrint ¶
func ListAndPrint()
func PrintTarget ¶
func PrintTarget(r defines.ShellSnippet)
func SaveSnippet ¶
func SaveSnippet(sn defines.ShellSnippet)
func SelectSnippet ¶
func SelectSnippet() (r defines.ShellSnippet)
func SelectSnippets ¶
func SelectSnippets() (rs []defines.ShellSnippet)
func SelectSnippetsReturnStringSlice ¶
func SelectSnippetsReturnStringSlice() (rs []string)
func UpdateEditor ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.