gen

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeGenerator

type CodeGenerator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(out io.Writer, packagePath string) *CodeGenerator

func (*CodeGenerator) Prepare

func (r *CodeGenerator) Prepare(t reflect.Type, tableName string, indexes ...entity.Index)

func (*CodeGenerator) Write

func (r *CodeGenerator) Write()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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