codegen

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenBaseGo

func GenBaseGo(domainpath string, folder ...string) error

GenBaseGo generates Base interface code Base interface wraps some common CRUD operations for convenient use

func GenDaoGo

func GenDaoGo(domainpath string, t table.Table, folder ...string) error

GenDaoGo generates dao layer interface code

func GenDaoImplGo

func GenDaoImplGo(domainpath string, t table.Table, folder ...string) error

GenDaoImplGo generates dao layer implementation code

func GenDaoSQL

func GenDaoSQL(domainpath string, t table.Table, folder ...string) error

GenDaoSQL generates sql statements used by dao layer

func GenDomainGo

func GenDomainGo(dpath string, domain astutils.StructMeta) error

GenDomainGo generates structs code in domain pkg from database tables

Types

This section is empty.

Jump to

Keyboard shortcuts

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