cockroach

package
v0.0.0-...-9be9f3c Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefalutCoins int64 = 100000
	DefaultGems  int32 = 500
)

Variables

This section is empty.

Functions

func NewDbUserRepo

func NewDbUserRepo(dataSourceName string, logger log.Logger) (center.DBRepository, error)

Types

type DbRepo

type DbRepo struct {
	Conn *sqlx.DB
	// contains filtered or unexported fields
}

func (*DbRepo) FindUserById

func (repo *DbRepo) FindUserById(uid int64) (user *center.User, err error)

Jump to

Keyboard shortcuts

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