Documentation
¶
Index ¶
- type Db2EnOption
- type Db2EnOptions
- func (Db2EnOptions) WithColumnsInter(columnsRepo domainfile.ColumnsRepo) Db2EnOption
- func (Db2EnOptions) WithDbConf(dbConf *domainfile.DbConfig) Db2EnOption
- func (Db2EnOptions) WithDomainFile(dfs ...domainfile.DomainFile) Db2EnOption
- func (Db2EnOptions) WithExecer(execer pkg.Exec) Db2EnOption
- func (Db2EnOptions) WithInfraer(infraer *infra.Infraer) Db2EnOption
- func (Db2EnOptions) WithLogger(logger log.Logger) Db2EnOption
- func (Db2EnOptions) WithShareInfo(shareInfo *domainfile.ShareInfo) Db2EnOption
- func (Db2EnOptions) WithTpl(tpl templates.Tpl) Db2EnOption
- func (Db2EnOptions) WithWriter(writer filedir.IfaceWriter) Db2EnOption
- type Db2Entity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db2EnOption ¶
type Db2EnOption func(*Db2Entity)
type Db2EnOptions ¶
type Db2EnOptions struct{}
func (Db2EnOptions) WithColumnsInter ¶
func (Db2EnOptions) WithColumnsInter(columnsRepo domainfile.ColumnsRepo) Db2EnOption
func (Db2EnOptions) WithDbConf ¶
func (Db2EnOptions) WithDbConf(dbConf *domainfile.DbConfig) Db2EnOption
func (Db2EnOptions) WithDomainFile ¶
func (Db2EnOptions) WithDomainFile(dfs ...domainfile.DomainFile) Db2EnOption
func (Db2EnOptions) WithExecer ¶
func (Db2EnOptions) WithExecer(execer pkg.Exec) Db2EnOption
func (Db2EnOptions) WithInfraer ¶
func (Db2EnOptions) WithInfraer(infraer *infra.Infraer) Db2EnOption
func (Db2EnOptions) WithLogger ¶
func (Db2EnOptions) WithLogger(logger log.Logger) Db2EnOption
func (Db2EnOptions) WithShareInfo ¶
func (Db2EnOptions) WithShareInfo(shareInfo *domainfile.ShareInfo) Db2EnOption
func (Db2EnOptions) WithTpl ¶
func (Db2EnOptions) WithTpl(tpl templates.Tpl) Db2EnOption
func (Db2EnOptions) WithWriter ¶
func (Db2EnOptions) WithWriter(writer filedir.IfaceWriter) Db2EnOption
type Db2Entity ¶
type Db2Entity struct { // Camel Form CamelStruct string ColumnsRepo domainfile.ColumnsRepo DbConf *domainfile.DbConfig // contains filtered or unexported fields }
func NewDb2Entity ¶
func NewDb2Entity(options ...Db2EnOption) *Db2Entity
Click to show internal directories.
Click to hide internal directories.