codegen

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 13 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