Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FixtureFactoryTplData ¶
type FixtureRenderer ¶
type FixtureRenderer struct {
// contains filtered or unexported fields
}
func NewFixtureRenderer ¶
func NewFixtureRenderer( structs []model.Struct, options *opts.Options, importer *imports.ImportBuilder, ) *FixtureRenderer
type FixtureTplData ¶
type StructHelper ¶
type StructHelper struct {
// contains filtered or unexported fields
}
func NewStructHelper ¶
func NewStructHelper(s model.Struct, driver opts.SQLDriver) *StructHelper
func (*StructHelper) ColumnNames ¶
func (h *StructHelper) ColumnNames() string
func (*StructHelper) ColumnPlaceholders ¶
func (h *StructHelper) ColumnPlaceholders() string
func (*StructHelper) TableName ¶ added in v0.1.8
func (h *StructHelper) TableName() string
func (*StructHelper) UpdateSql ¶ added in v0.1.4
func (h *StructHelper) UpdateSql() string
Click to show internal directories.
Click to hide internal directories.