user_repo

package
v0.0.0-...-be30394 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryBuilder

func NewQueryBuilder() *userRepoQueryBuilder

Types

type User

type User struct {
	Id          int64     //
	Username    string    // 用户名
	Password    string    //
	Mobile      string    //
	IsDeleted   int32     //
	CreatedTime time.Time `gorm:"time"` //
	UpdateTime  time.Time `gorm:"time"` //
}

User 用户表

func NewModel

func NewModel() *User

func (*User) Create

func (t *User) Create() (id int64, err error)

Jump to

Keyboard shortcuts

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