Documentation ¶
Index ¶
- func Contain(list interface{}, obj interface{}) (bool, errors.AppError)
- func ContainIface(v interface{}, sl []interface{}) bool
- func ContainString(v string, sl []string) bool
- func EqualString(v string, sl []string) bool
- func SliceUniqueInt64(s []int64) []int64
- func SliceUniqueString(s []string) []string
- func ToSlice(arr interface{}) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainIface ¶
func ContainIface(v interface{}, sl []interface{}) bool
ContainIface 判断对象是否存在数组中
func ContainString ¶
ContainString 判断string是否包含在数组的string中
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.