db1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	Id         uint64 `xorm:"id"`
	Cellphone  string `xorm:"cellphone"`
	InsertTime int64  `xorm:"insertTime bigint created"`
	ModifyTime int64  `xorm:"modifyTime bigint updated"`
}

func CreateUser

func CreateUser(cellphone string) User

func GetUserById

func GetUserById(id uint64) User

func GetUsersByIds

func GetUsersByIds(ids []uint64) []User

Jump to

Keyboard shortcuts

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