Documentation ¶
Index ¶
- func NewGenXormDao(options ...func(*genXormDao)) *genXormDao
- type GenXormDaoOption
- func WithDaoMysqlPath(path string) GenXormDaoOption
- func WithDefaultTemplatePath(path string) GenXormDaoOption
- func WithMysql(mysql *xorm.Engine) GenXormDaoOption
- func WithPrefix(prefix string) GenXormDaoOption
- func WithProgramTemplatePath(path string) GenXormDaoOption
- func WithProject(project string) GenXormDaoOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenXormDao ¶
func NewGenXormDao(options ...func(*genXormDao)) *genXormDao
Types ¶
type GenXormDaoOption ¶ added in v0.1.1
type GenXormDaoOption func(*genXormDao)
func WithDaoMysqlPath ¶ added in v0.1.4
func WithDaoMysqlPath(path string) GenXormDaoOption
func WithDefaultTemplatePath ¶ added in v0.1.4
func WithDefaultTemplatePath(path string) GenXormDaoOption
func WithMysql ¶ added in v0.1.4
func WithMysql(mysql *xorm.Engine) GenXormDaoOption
func WithPrefix ¶ added in v0.1.1
func WithPrefix(prefix string) GenXormDaoOption
func WithProgramTemplatePath ¶ added in v0.1.4
func WithProgramTemplatePath(path string) GenXormDaoOption
func WithProject ¶ added in v0.1.4
func WithProject(project string) GenXormDaoOption
Click to show internal directories.
Click to hide internal directories.