codegen

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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