crud

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrudTemplate

func CrudTemplate() string

Types

type SturctContent

type SturctContent struct {
	Name          string
	TableRealName string
	Content       string
}

type Table2Struct

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

func NewTable2Struct

func NewTable2Struct() *Table2Struct

func (*Table2Struct) DB

func (t *Table2Struct) DB(d *sql.DB) *Table2Struct

func (*Table2Struct) Dsn

func (t *Table2Struct) Dsn(d string) *Table2Struct

func (*Table2Struct) RealNameMethod

func (t *Table2Struct) RealNameMethod(r string) *Table2Struct

func (*Table2Struct) Run

func (t *Table2Struct) Run() (result []SturctContent, e error)

func (*Table2Struct) TagKey

func (t *Table2Struct) TagKey(r string) *Table2Struct

Jump to

Keyboard shortcuts

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