test

package
v0.0.0-...-309baec Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PeopleMgr *_PeopleMgr

Functions

func MssqlAddQueryWrapper

func MssqlAddQueryWrapper(r db.QueryWrapper)

func MssqlClose

func MssqlClose() error

func MssqlSetMaxIdleConns

func MssqlSetMaxIdleConns(maxIdleConns int)

func MssqlSetMaxOpenConns

func MssqlSetMaxOpenConns(maxOpenConns int)

func MssqlSetUp

func MssqlSetUp(dataSourceName string)

Types

type People

type People struct {
	NonIndexA   string     `db:"NonIndexA"`
	NonIndexB   string     `db:"NonIndexB"`
	PeopleId    int32      `db:"PeopleId"`
	Age         int32      `db:"Age"`
	Name        string     `db:"Name"`
	IndexAPart1 int64      `db:"IndexAPart1"`
	IndexAPart2 int32      `db:"IndexAPart2"`
	IndexAPart3 int32      `db:"IndexAPart3"`
	UniquePart1 int32      `db:"UniquePart1"`
	UniquePart2 int32      `db:"UniquePart2"`
	CreateDate  *time.Time `db:"CreateDate"`
	UpdateDate  *time.Time `db:"UpdateDate"`
}

func (*People) GetClassName

func (p *People) GetClassName() string

func (*People) GetNameSpace

func (p *People) GetNameSpace() string

Jump to

Keyboard shortcuts

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