models

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	ModelTemplate    string
	StorePackageDir  string
	StorePackageName string
	PackageName      string
	PackageDir       string
	GenDir           string
	Models           []model
}

func NewPackage

func NewPackage(
	writerCreator writer.Creator,
	translate types.Translate,
	storePackageDir string,
	storePackageName string,
	packageDir string,
	genDir string,
	tables []introspect.Table,
) (Package, error)

func (Package) Generate

func (p Package) Generate() error

Jump to

Keyboard shortcuts

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