package
0.44.0
Repository: https://github.com/donnol/tools.git
Documentation: pkg.go.dev

# Functions

CopyStructField 复制结构体字段.
No description provided by the author
InitParam 初始化-使用反射初始化param里的指定类型.
IsStructPointer 是否结构体指针.
MakeStruct 新建结构体.
RegisterSpecType 注册特别类型.
ResolveStruct 解析结构体.
SetStructFieldValue 设置结构体字段的值,arg必须是结构体指针,value值类型必须与结构体对应fieldName类型一致 没有没有找到指定字段,则返回的StructField为空.
SetStructRandom 设置结构体随机值.
ToInterface 如果in数组里存在无法取Interface的Value,则会置为nil.

# Variables

ErrParamNotStruct 参数不是结构体.

# Structs

Address 地址.
Basic 基础信息.
Field 字段.
InnerModel 内部模型.
结构体必须这样定义,否则拿不到它的doc.
Struct 结构体.
No description provided by the author
User 用户 这是一个表示用户的结构体.

# Interfaces

No description provided by the author