Documentation ¶
Index ¶
- func Array_to_map(data interface{}) []map[string]interface{}
- func BinStringToByte(str string) int32
- func Byte2str(postdata []map[string][]byte) []map[string]interface{}
- func BytesCombine(pBytes ...[]byte) []byte
- func BytesToInt(buf []byte, big_flag bool) int
- func BytesToInt16(buf []byte, big_flag bool) int16
- func BytesToInt64(buf []byte) uint64
- func BytesToUInt8(buf []byte) uint8
- func CheckSum(at_str string) []byte
- func DataToDBStruct(data map[string]string, out interface{})
- func DataToStruct(data map[string]string, out interface{})
- func DateStringToGoTime(tm string) time.Time
- func DecStringTOHexString(str1 string) string
- func FilteredSQLInject(to_match_str string) bool
- func FormatDate(key string) string
- func FormatFloat(val float64, ws int) string
- func GenerateRangeNum(min, max int) int
- func GetCalMonth(date string, mon_sub int) string
- func GetMd5String(s string) string
- func GetRedisValueMap(src interface{}) map[string]interface{}
- func Get_UUID() string
- func Has_map_index(name string, data map[string]interface{}) bool
- func HexByteToBinString(list []byte) string
- func HexByteToDecString(list []byte) string
- func HexByteToString(list []byte) string
- func HexStringToByte(str string) []byte
- func Int16ToBytes(n int, big_flag bool) []byte
- func Int2Date_str(date int64) string
- func Int2Time_str(date int64) string
- func Int32ToBytes(n int, big_flag bool) []byte
- func Int64ToBytes(n int64, big_flag bool) []byte
- func Int64toint(val int64) int
- func Int8ToBytes(n int, big_flag bool) []byte
- func InterfaceToStringList(data []map[string]interface{}) []map[string]string
- func JSON2map(arr interface{}) map[string]interface{}
- func JSON2maplist(arr interface{}) []map[string]interface{}
- func Map2Json(json_data map[string]interface{}) []byte
- func Map2str(postdata map[string]interface{}) map[string]string
- func MapArray2interface(data []map[string]string) []map[string]interface{}
- func MapList2Json(json_data []map[string]interface{}) []byte
- func MapString2interface(data map[string]string) map[string]interface{}
- func Replace_map(data map[string]string, memo string) string
- func SafeConvertMap(m interface{}) map[string]interface{}
- func SetAutoBh(strlen int, str_qz string, str_val string) string
- func Str2Float(key string) float64
- func Str2Int(key string) int
- func Str2Int64(key string) int64
- func String2Json(strin string) map[string]interface{}
- func String2JsonList(strin string) []map[string]interface{}
- func String2Time(date string) int64
- func String2TimeStamp(date string) time.Time
- func String2date(date string) int64
- func StringToHexString(data string) string
- func Struct2DBMap(obj interface{}) map[string]interface{}
- func Struct2ListMap(obj interface{}, perfix string) map[string]interface{}
- func Struct2Map(obj interface{}) map[string]interface{}
- func StructJson2Map(obj interface{}) map[string]interface{}
- func ToUP_map_name(name string) string
- func Tolow_map_name(name string) string
- func Type2List(data interface{}) []map[string]interface{}
- func Type2Map(obj interface{}) map[string]interface{}
- func Type2int(val interface{}) int
- func Type2map(data interface{}) map[string]interface{}
- func Type2str(val interface{}) string
- func UInt8ToBytes(n uint8) []byte
- func Utf8ToGBK(utf8str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Array_to_map ¶
func Array_to_map(data interface{}) []map[string]interface{}
func BinStringToByte ¶
func BytesCombine ¶
func BytesToInt64 ¶
func BytesToUInt8 ¶
func DateStringToGoTime ¶
func FormatDate ¶
func FormatFloat ¶
func GenerateRangeNum ¶
func GetCalMonth ¶
func GetMd5String ¶
func GetRedisValueMap ¶
func GetRedisValueMap(src interface{}) map[string]interface{}
func Has_map_index ¶
func Int2Date_str ¶
func Int2Time_str ¶
func Int64toint ¶
func InterfaceToStringList ¶
func JSON2maplist ¶
func JSON2maplist(arr interface{}) []map[string]interface{}
func MapArray2interface ¶
func MapList2Json ¶
func MapString2interface ¶
func SafeConvertMap ¶
func SafeConvertMap(m interface{}) map[string]interface{}
func String2Json ¶
func String2JsonList ¶
func String2Time ¶
func String2TimeStamp ¶
func String2date ¶
func Struct2DBMap ¶
func Struct2DBMap(obj interface{}) map[string]interface{}
func Struct2ListMap ¶
func UInt8ToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.