dao

package
v0.0.0-...-1b09624 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableFormat

type TableFormat struct {
	PrimaryCols map[string]struct{}
	Cols        map[string]*TableItem
}

func BuildTableDesc

func BuildTableDesc(data []map[string][]byte) *TableFormat

type TableItem

type TableItem struct {
	Field string
	Type  string
	Key   string
}

func (*TableItem) IsCharType

func (item *TableItem) IsCharType() bool

func (*TableItem) IsIntType

func (item *TableItem) IsIntType() bool

type Tables

type Tables []string

func BuildShowTables

func BuildShowTables(data []map[string][]byte) Tables

Jump to

Keyboard shortcuts

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