Documentation ¶
Index ¶
- func ContainsInSlice(items []string, item string) bool
- func GreenColor(s interface{}) string
- func IsNil(i interface{}) bool
- func JsonToMap(str string) map[string]interface{}
- func MapKeyInIntSlice(haystack []string, needle string) bool
- func RedColor(s interface{}) string
- func YellowColor(s interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsInSlice ¶
ContainsInSlice 判断字符串是否在 slice 中
func GreenColor ¶
func GreenColor(s interface{}) string
func MapKeyInIntSlice ¶
MapKeyInIntSlice
func YellowColor ¶
func YellowColor(s interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.