pkg

package
v0.0.0-...-621c15c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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) Flush

func (g *DaoGenerator) Flush()

Flush write the generated code to file.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL