_go

package
v1.1.224 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: GPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfgCreator added in v1.1.153

type CfgCreator struct {
	Dst      string
	Excluded []string
	Imports  []string
	Included []string
}

func LoadCfg added in v1.1.153

func LoadCfg(filename string) (cfg *CfgCreator, err error)

type Creator

type Creator struct {
	*tpl.PackageBuilder
	// contains filtered or unexported fields
}

Creator is interface for generate go-interface according to DB structures (tables & routines)

func NewCreator

func NewCreator(DB *dbEngine.DB, cfg *CfgCreator) (*Creator, error)

NewCreator create with destination directory 'dst'

func (*Creator) MakeInterfaceDB added in v1.1.7

func (c *Creator) MakeInterfaceDB() error

MakeInterfaceDB create interface of DB

func (*Creator) MakeStruct

func (c *Creator) MakeStruct(table dbEngine.Table) error

MakeStruct create table interface with Columns operations

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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