fileGenerate

package
v0.0.0-...-a9e9222 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileGenC

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

func (*FileGenC) GenerateHeader

func (f *FileGenC) GenerateHeader(info dbRead.DBTableInfo, property FileGenProperty) error

func (*FileGenC) GenerateImpl

func (f *FileGenC) GenerateImpl(info dbRead.DBTableInfo, property FileGenProperty) error

type FileGenInterface

type FileGenInterface interface {
	GenerateHeader(info dbRead.DBTableInfo, property FileGenProperty) error
	GenerateImpl(info dbRead.DBTableInfo, property FileGenProperty) error
}

type FileGenProperty

type FileGenProperty struct {
	OutPos  string // 生成到哪里
	Prefix  string // 生成文件名和函数名前缀
	Table   string // 文件名和函数名均会包括表名
	SqlType string // 数据库类型,文件名和函数名会有
}

Jump to

Keyboard shortcuts

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