Documentation ¶
Index ¶
- func FileExists(path string) bool
- func FormatBool(b bool) string
- func Homedir() string
- func Itoa64(i int64) string
- func JoinInt(numbers []int64, sep string) string
- func Mkdir(path string) error
- func PrintColumns(items []map[string]string, keyOrder []string, columnSpacing int)
- func PrintStruct(s interface{})
- func Prompt(msg string) string
- func TimeToLocal(t time.Time) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatBool ¶
func PrintColumns ¶
Prints items in columns with header and correct padding
func PrintStruct ¶
func PrintStruct(s interface{})
Prints a struct with one name-value-pair per line
func TimeToLocal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.