Documentation
¶
Index ¶
- func ClearTermLines(n int)
- func Cwd() string
- func Duration(duration time.Duration, n int8) time.Duration
- func InitDebugLogging()
- func InitLogging()
- func InitLoggingWithLevel(minLevel string)
- func IsDebug() bool
- func IsDir(path string) bool
- func IsFile(path string) bool
- func IsFlagEnabled(key string) bool
- func PluralPrint(s string, n int) string
- func Seconds(n int8) time.Duration
- func SinglePrintIes(s string, n int) string
- func Subdirectories(dir string, scanDepth int) []string
- func TrimRelativePathPrefix(p string) string
- func WriteFile(absPath string, bytes []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearTermLines ¶
func ClearTermLines(n int)
ClearTermLines navigates up n number of lines and clears terminal leaving cursor on topmost cleared lined.
func InitDebugLogging ¶
func InitDebugLogging()
func InitLogging ¶
func InitLogging()
func InitLoggingWithLevel ¶
func InitLoggingWithLevel(minLevel string)
func IsFlagEnabled ¶
func PluralPrint ¶
func SinglePrintIes ¶
func Subdirectories ¶
func TrimRelativePathPrefix ¶
TrimRelativePathPrefix will remove the first character of a string until all relative path prefix chars have been trimmed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.