Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option struct { StructNameMapper func(string) string // 名称映射 IgnoreField []string // 忽略字段 FieldNameMapper func(string) string // 字段名称映射 FieldTypeMapper func(string) string // 字段类型映射 FieldTagMapper func(string, string) string // 可根据名称和类型自行决定字段tag RandomFieldValueByType func(string) any // 根据字段类型生成随机值 }
type Struct ¶
func ParseCreateSQL ¶
func ParseCreateSQLBatch ¶ added in v0.24.0
Click to show internal directories.
Click to hide internal directories.