mysql

package
v0.0.0-...-6b52b4a Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 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 {
	mysql.DaoMysql
	// contains filtered or unexported fields
}

func NewUser

func NewUser(c *gin.Context) *User

func (*User) FirstOrCreateUser

func (p *User) FirstOrCreateUser(data *mmysql.User) (info *mmysql.User, err error)

func (*User) GetUser

func (p *User) GetUser(uuid string) (user *mmysql.User, err error)

func (*User) GetUserByStatus

func (p *User) GetUserByStatus(status int) (list []mmysql.User, err error)

func (*User) UpdateUser

func (p *User) UpdateUser(data *mmysql.User) (err error)

Jump to

Keyboard shortcuts

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