Documentation ¶
Index ¶
- func AssertMapHas(m map[string]interface{}, key string) string
- func BuildFileDir(dir string, name string) string
- func CleanupMapValue(v interface{}) interface{}
- func CleanupStringMap(in map[string]interface{}) map[string]interface{}
- func GetMapInt(m map[string]interface{}, key string, defaultValue int64) int64
- func GetMapString(m map[string]interface{}, key string, defaultValue string) string
- func GetMapStringSlice(m map[string]interface{}, key string, defaultValue []string) []string
- func MergeMap(master, follow map[string]interface{}) map[string]interface{}
- func MergeNewMap(master, follow map[string]interface{}) map[string]interface{}
- func QueryToJSON(query interface{}) ([]byte, error)
- func ToBuffer(i interface{}) *bytes.Buffer
- type Mail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertMapHas ¶
func BuildFileDir ¶
func CleanupMapValue ¶
func CleanupMapValue(v interface{}) interface{}
func CleanupStringMap ¶
func GetMapString ¶
func GetMapStringSlice ¶
func MergeNewMap ¶
MergeNewMap 融合两个map,返回一个新map
func QueryToJSON ¶
QueryToJSON 转化query为json byte[]
Types ¶
Click to show internal directories.
Click to hide internal directories.