user

package
v0.0.0-...-82ea28c Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserRepositorySet = wire.NewSet(wire.Struct(new(UserRepository), "*"))

Functions

This section is empty.

Types

type User

type User struct {
	Id       int32  `json:"id"`
	NickName string `json:"nick_name"`
	UserName string `json:"user_name"`
}

type UserRepository

type UserRepository struct {
	Logger *logger.Logger
	ReadDb *gorm.DB
}

func (*UserRepository) Info

func (u *UserRepository) Info(id int32) (User, error)

Jump to

Keyboard shortcuts

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