Documentation ¶
Index ¶
- func CamelToSnake(s string) string
- func ContainsString(ss []string, s string) bool
- func FuncWithTrue(flag bool, f func())
- func GetDefString(val string, defs ...string) string
- func GetDefStringWithBool(b bool, val string, defs ...string) string
- func GetEnv(key string, def string) string
- func RemoveSliceStringEmptyElement(src []string) (res []string)
- func SnakeToCamel(s string) string
- func Struct2Map(obj interface{}, keyGen func(name string) string) map[string]interface{}
- func Struct2MapLowerKey(obj interface{}) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuncWithTrue ¶
func FuncWithTrue(flag bool, f func())
func GetDefString ¶
func Struct2Map ¶
func Struct2MapLowerKey ¶
func Struct2MapLowerKey(obj interface{}) map[string]interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.