util

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrowserOpen added in v0.9.0

func BrowserOpen(url string)

func Decrypt

func Decrypt(key string, data string) (string, error)

func DetectSpfr

func DetectSpfr(args []string) (string, string)

DetectSpfr returns specifier and root workspace

func Diff added in v0.11.0

func Diff(ouf, out string) string

func Encrypt

func Encrypt(key string, data string) (string, error)

func ExtractMapKeys

func ExtractMapKeys(varMap interface{}) (data []string)

func FindCodeFiles

func FindCodeFiles(file string) (string, error)

func FindInpOutFiles added in v0.11.0

func FindInpOutFiles(inpf, outf *[]string)

func FindTemplateToUse

func FindTemplateToUse(file string) (string, error)

FindTemplateToUse returns alias of template to use

func HeaderCol added in v0.12.0

func HeaderCol(data string) string

func SliceContains

func SliceContains(key string, data []string) bool

func StartCountdown

func StartCountdown(dur time.Duration, msg string)

func SurveyErr

func SurveyErr(err error)

func ToByte

func ToByte(v interface{}) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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