tablec

package
v0.0.0-...-6215f49 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TypModel = "model"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConf

type DBConf struct {
	Host     string `yaml:"host" json:"host"`
	Port     int    `yaml:"port" json:"port"`
	Schema   string `yaml:"schema" json:"schema"`
	Username string `yaml:"username" json:"username"`
	Password string `yaml:"password" json:"password"`
}

type TableC

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

func NewTableC

func NewTableC(conf *DBConf) (*TableC, error)

func (*TableC) Do

func (t *TableC) Do(wr io.Writer, typ, tableName string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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