codegen

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenDaoGo

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

GenDaoGo generates dao layer implementation code

func GenDaoSQL

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

GenDaoSQL generates sql statements used by dao layer

func GenDto added in v2.0.5

func GenDto(dir string, entities []astutils.StructMeta)

GenDto generates structs code in dto pkg from database tables

func GenEntityGo added in v2.0.4

func GenEntityGo(dpath string, entity astutils.StructMeta)

GenEntityGo generates structs code in entity pkg from database tables

func GenIDaoGo added in v2.0.4

func GenIDaoGo(entityPath string, t table.Table, folder ...string) error

GenIDaoGo generates dao layer interface code

Types

This section is empty.

Jump to

Keyboard shortcuts

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