generate

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 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 Column

type Column struct {
	Name       string
	SqlName    string
	Types      string
	ImportPath string
}

type Generate

type Generate struct {
	SelfPackage  string
	PackageName  string
	OutPath      string
	UseZeroCheck bool
	Param        Param
}

func (*Generate) Gen

func (g *Generate) Gen(val interface{})

type Param

type Param struct {
	StructName string
	TableName  string
	ImportMap  map[string]struct{}
	Cols       []Column
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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