Documentation
¶
Index ¶
Constants ¶
View Source
const ( GenRawdataName = ".gen.go" GenLoadName = "gen_load.gen.go" GenRawdataConfFileName = "_conf.gen.go" GenInitConfigFileName = "gen_init.go" GenCheckerConf = "_checker_conf.gen.go" GenLoaderName = "loader.go" GenErrName = "err_array.go" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
Package string
Name string
PriName string
Checkers []*CheckerField
}
func NewChecker ¶
type CheckerField ¶
type GenChecker ¶
type GenChecker struct{}
func (GenChecker) Gen ¶
func (GenChecker) Gen(structModel *model.ConfigData) error
type GenConfigStruct ¶
type GenConfigStruct struct{}
func (*GenConfigStruct) Gen ¶
func (g *GenConfigStruct) Gen(structModel *model.ConfigData) error
type GenGlobalErr ¶
type GenGlobalErr struct{}
func (GenGlobalErr) Gen ¶
func (GenGlobalErr) Gen(packaged, toPath string, configDatas *[]*model.ConfigData) error
type GenGlobalInit ¶
type GenGlobalInit struct{}
func (GenGlobalInit) Gen ¶
func (GenGlobalInit) Gen(packaged, toPath string, configDatas *[]*model.ConfigData) error
type GenGlobalLoad ¶
type GenGlobalLoad struct{}
func (GenGlobalLoad) Gen ¶
func (GenGlobalLoad) Gen(packaged, toPath string, configDatas *[]*model.ConfigData) error
type GenGlobalLoader ¶
type GenGlobalLoader struct{}
func (GenGlobalLoader) Gen ¶
func (GenGlobalLoader) Gen(packaged, toPath string, configDatas *[]*model.ConfigData) error
type GenLoadField ¶
type GenRawdataConf ¶
type GenRawdataConf struct{}
func (GenRawdataConf) Gen ¶
func (GenRawdataConf) Gen(structModel *model.ConfigData) error
type GoField ¶
func NewGoField ¶
type GoStruct ¶
func NewGoStruct ¶
type RawdataConf ¶
func NewRawdataConf ¶
func NewRawdataConf(pack, name, priType string) *RawdataConf
Click to show internal directories.
Click to hide internal directories.