genmodel

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 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 Conn

type Conn struct {
	Schema  string
	SqlConn sqlx.SqlConn
}

type ImportWithAlias

type ImportWithAlias struct {
	Alias string
	Path  string
}

type PzeroModel

type PzeroModel struct {
	Module string
}

func (*PzeroModel) Gen

func (jm *PzeroModel) Gen(progressChan chan<- progress.Message) ([]string, error)

func (*PzeroModel) GenRegister

func (jm *PzeroModel) GenRegister(tables []string) error

type TableInfo

type TableInfo struct {
	Alias             string
	Name              string
	FullName          string // 完整表名,如 "log.user"
	WithCache         bool
	HasCacheExpiry    bool
	HasNotFoundExpiry bool
}

Jump to

Keyboard shortcuts

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