Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
func Capitalize(s string) string
Capitalize capitalizes the first character of the string.
func GoFmt ¶
func GoFmt(buf string) string
GoFmt returns the Go formated string of the input.
Panics if the format fails.
func PrettyPrint ¶
func PrettyPrint(v interface{}) string
PrettyPrint generates a human readable representation of the value v. All values of v are recursively found and pretty printed also.
func SortedKeys ¶ added in v1.1.35
func SortedKeys(m map[string]interface{}) []string
SortedKeys returns a sorted slice of keys of a map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.