Documentation ¶
Index ¶
- func Append(a []interface{}, b []interface{}) []interface{}
- func BaseEncode(str string) string
- func Delete(i []interface{}, n int32) []interface{}
- func DistinctElement(arr []string) (newArr []string)
- func EncodeMD5(value string) string
- func HTTPGet(out interface{}, url string, header map[string]string) error
- func HTTPPost(out interface{}, url string, header map[string]string, param string) error
- func IsBlank(value reflect.Value) bool
- func IsExistItem(val interface{}, arr interface{}) bool
- func JSONUnmarshal(jsonStr string, out interface{}) error
- func Pop(i []interface{}) (interface{}, []interface{})
- func Push(i []interface{}, n interface{}) []interface{}
- func Shift(i []interface{}) (interface{}, []interface{})
- func ToInterfaceArr(arr interface{}) []interface{}
- type Account
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExistItem ¶
func IsExistItem(val interface{}, arr interface{}) bool
IsExistItem 判断切片中是否包含某一元素
func JSONUnmarshal ¶
JSONUnmarshal json反解析
func ToInterfaceArr ¶
func ToInterfaceArr(arr interface{}) []interface{}
ToInterfaceArr 对象转 interface切片
Types ¶
type Account ¶
type Account struct {
accounting.Accounting
}
Click to show internal directories.
Click to hide internal directories.