Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Rules []*Rule `json:"rules" toml:"rules"`
}
Config 结构体用于解析JSON和TOML配置
type Field ¶
type Field struct {
Name string `json:"name" toml:"name"`
Type string `json:"type" toml:"type"`
Tags string `json:"tags" toml:"tags"`
}
Field 结构体表示字段信息
type Import ¶
type Import struct {
Path string `json:"path" toml:"path"`
Alias string `json:"alias" toml:"alias"`
}
Import 结构体表示导入信息
Click to show internal directories.
Click to hide internal directories.