Documentation ¶
Index ¶
- func Case2Camel(name string) string
- func CaseCamelCopy(data map[string]interface{}) map[string]interface{}
- func CopyUpd(data mysql.Upd) mysql.Upd
- func InArray(val int, list []int) bool
- func Int64ArrayDiff(arr1, arr2 []int64) (diffArr []int64)
- func Int64Slice2IfSlice(int64Arr []int64) []interface{}
- func Int64ToStringSlice(arr []int64) []string
- func IsSlice(arr interface{}) bool
- func Lcfirst(str string) string
- func SliceRemove(list *[]interface{}, index int)
- func StringToInt64Slice(arr []string) []int64
- type ChangeField
- type JsonDiff
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Case2Camel ¶
func CaseCamelCopy ¶
func Int64ArrayDiff ¶
Int64ArrayDiff 对比,获取在 arr1 中存在,但在 arr2 中不存在的元素集合
func Int64Slice2IfSlice ¶
func Int64Slice2IfSlice(int64Arr []int64) []interface{}
Int64Slice2IfSlice int64 切片转 interface 切片
func Int64ToStringSlice ¶
Int64ToStringSlice int64 转 string 切片
func StringToInt64Slice ¶
Types ¶
type ChangeField ¶
type ChangeField struct { Field string OldVaule interface{} NewValue interface{} }
type JsonDiff ¶
type JsonDiff struct { HasDiff bool Result string ResultMap []ChangeField }
func JsonCompare ¶
Click to show internal directories.
Click to hide internal directories.