module
Version:
v1.2.6
Opens a new window with list of versions in this module.
Published: May 15, 2025
License: MIT
Opens a new window with license information.
README
¶
env
- go version must more than 1.21
kit-logger
-
zapx
-
logx with trace id
-
vipperx
-
gormx
-
配置字段具体参数, 可以修改 g.FieldOpts
-
配置 yaml 表关系: 生成 model 后就不应该修改(否则关联关系会丢失)
-
为指定对象自定义模版接口:
info := g.Data[db.NamingStrategy.SchemaName("archived_ups_tag")] // 获取 yaml 表关系生成的model元数据
g.ApplyInterface(func(upsTagInterface) {}, info.QueryStructMeta)
Directories
¶
chore
|
|
|
|
|
|
|
|
utilx
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.