Documentation ¶
Index ¶
- Variables
- func CheckErr(err error, str string)
- func CleanTimeStamp(s string) string
- func ClearWindow()
- func CopyDir(src, dest string) error
- func CopyFile(src, dest string) error
- func DebugErr(err error, str string)
- func FileExists(filepath string) (bool, error)
- func GenerateUUID() (string, error)
- func InitLog()
- func IsNumber(s string) bool
- func OpenBrowser(url string)
- func PrintHeader(str string)
- func ReadFileAbs(relpath string) []byte
- func ResizeWindow()
- func StripNONALPHANUMERIC(str string) string
- func StripString(s string) string
- func TrimString(str string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Logfile *os.File ErrLog *log.Logger )
Functions ¶
func CleanTimeStamp ¶
2020-09-02 15:16:15:415 --> 2020-09-02 15:16:15
func ClearWindow ¶
func ClearWindow()
func FileExists ¶
FileExists checks if the file exists at the given path
func OpenBrowser ¶
func OpenBrowser(url string)
func PrintHeader ¶
func PrintHeader(str string)
func ReadFileAbs ¶
ReadFileAbs reads the content of the file with the given file path by resolving it as an absolute path
func ResizeWindow ¶
func ResizeWindow()
func StripNONALPHANUMERIC ¶
strips all non alphanumeric except ./-_
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package assert provides functions to assert a condition in tests
|
Package assert provides functions to assert a condition in tests |
Package clock provides an abstract layer over the standard time package
|
Package clock provides an abstract layer over the standard time package |
Click to show internal directories.
Click to hide internal directories.