Documentation ¶
Index ¶
- func BeautifyJSON(v interface{}) (string, error)
- func FirstLower(s string) string
- func FirstUpper(s string) string
- func ParseTemplate(data interface{}, tplT []byte) ([]byte, error)
- func RegisterFuncMap() template.FuncMap
- func RegisterTxtFuncMap() template.FuncMap
- func RemoveDuplicateElement(slices []string) []string
- func ValidateStruct(s interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeautifyJSON ¶
func FirstLower ¶
func FirstUpper ¶
func ParseTemplate ¶
ParseTemplate template
func RegisterFuncMap ¶
func RegisterTxtFuncMap ¶
func RemoveDuplicateElement ¶
func ValidateStruct ¶
func ValidateStruct(s interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.