Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaoGenerator ¶
type DaoGenerator struct {
// contains filtered or unexported fields
}
DaoGenerator is a generator for dao.
func NewDaoGenerator ¶
func NewDaoGenerator(m interface{}, savePath string) *DaoGenerator
NewDaoGenerator returns a new DaoGenerator.
func (*DaoGenerator) Format ¶
func (g *DaoGenerator) Format() *DaoGenerator
Format format the generated code.
func (*DaoGenerator) Generate ¶
func (g *DaoGenerator) Generate() *DaoGenerator
Generate init the hook.
Click to show internal directories.
Click to hide internal directories.