user_demo_repo

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 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 UserRepo

type UserRepo interface {
	Create(ctx core.Context, user user_model.UserDemo) (id uint, err error)
	UpdateNickNameByID(ctx core.Context, id uint, username string) (err error)
	GetUserByUserName(ctx core.Context, username string) (*user_model.UserDemo, error)
	Delete(ctx core.Context, id uint) (err error)
	// contains filtered or unexported methods
}

func NewUserRepo

func NewUserRepo(db db.Repo) UserRepo

Jump to

Keyboard shortcuts

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