Documentation
¶
Index ¶
- func DecodeJSON(data []byte, v interface{}) error
- func EncodeJSON(v interface{}) ([]byte, error)
- func Exists(path string) bool
- func GenUID() string
- func InterfaceToJson(data interface{}) string
- func IsDir(path string) bool
- func IsFile(path string) bool
- func JoinMap(params map[string]interface{}, sep string) []byte
- func TrimSpace(raw string) string
- func TrimSplit(raw, sep string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterfaceToJson ¶
func InterfaceToJson(data interface{}) string
InterfaceToJson marshal data to json data if success return string with json format if not return empty string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.