generate

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(ast *ast.AST, destFile, template string, vars map[string]interface{}, filters []gogen.Option) error

func MSSQLName added in v0.19.0

func MSSQLName(format, prefix string, replaceMap map[string]string) func(name string) (string, error)

func MySQLName added in v0.19.0

func MySQLName(format, prefix string, replaceMap map[string]string) func(name string) (string, error)

func NoVirtual added in v0.26.0

func NoVirtual(entities []*ast.Entity) []*ast.Entity

func PostgresName added in v0.19.0

func PostgresName(format, prefix string, replaceMap map[string]string) func(name string) (string, error)

func SQLiteName added in v0.19.2

func SQLiteName(format, prefix string, replaceMap map[string]string) func(name string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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