Documentation
¶
Index ¶
- func DataType(data string) string
- func ExpandHome(relPath string) string
- func ExpandRel(relPath, absPath string) string
- func GetImgIdentifier(filename string) string
- func GetStdin() string
- func GetTime() string
- func GetTimeStamp() string
- func HandleError(err error)
- func IsInt(arg string) bool
- func LogERROR(message string)
- func LogINFO(message string)
- func LogWARN(message string)
- func SetUpLogger(logFilePath string)
- func Shorten(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandHome ¶ added in v0.0.7
Expands the path to include the home directory if the path is prefixed with `~`. If it isn't prefixed with `~`, the path is returned as-is.
func GetImgIdentifier ¶ added in v1.0.3
func GetTimeStamp ¶ added in v1.0.3
func GetTimeStamp() string
func HandleError ¶
func HandleError(err error)
func SetUpLogger ¶ added in v0.1.0
func SetUpLogger(logFilePath string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.