package
0.0.0-20250219033730-6c76daace332
Repository: https://github.com/tianlin0/go-plat-utils.git
Documentation: pkg.go.dev

# Functions

* 1、目前不能解决继承为小写的情况 2、已有值了,填充没有的情况 */.
Bool 将给定的值转换为bool.
BytesToString 字节数组转字符串.
ChangeVariableName 将驼峰与小写互转.
Float32 将给定的值转换为float32.
Float32ToString float32转字符串.
Float64 将给定的值转换为float64.
Float64ToString float64转字符串.
FormatFromUnixTime 将unix时间戳格式化为YYYYMMDD HH:MM:SS格式字符串 FormatFromUnixTime(FullDate, 12321312).
Int 将给定的值转换为 int.
Int16 将给定的值转换为 int16.
Int32 将给定的值转换为 int32.
Int64 将给定的值转换为 int64.
Int8 将给定的值转换为 int8.
IPToUInt32 ip转数字.
KeyListFromMap 参数传字符串,避免不是map结构 {"app":{"mm":1}} ==> "app.mm" : 1.
No description provided by the author
String 转换为string.
StrToBytes 字符串转字节数组.
StrToInt string转int.
StrToInt16 string转int16.
StrToInt32 string转int32.
StrToInt64 string转int64.
StrToInt8 string转int8.
StrToUint string转uint.
StrToUint16 string转uint16.
StrToUint32 string转uint32.
StrToUint64 string转uint64.
StrToUint8 string转uint8.
Time 转换为Time.
Uint 将给定的值转换为 uint.
Uint16 将给定的值转换为 uint16.
Uint32 将给定的值转换为 uint32.
UInt32ToIP 将uint32类型转化为ipv4地址.
Uint64 将给定的值转换为 uint64.
Uint8 将给定的值转换为 uint8.
Unmarshal 将前一个的对象填充到后一个对象中,字段名相同的覆盖值, 返回 interface 的作用是如果toPoint为nil的时候,也能正常返回对象.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author