service

package
v0.0.0-...-5252a31 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUniqueConflict = dao.ErrUniqueConflict
	ErrRecordNotFound = dao.ErrRecordNotFound
)

Functions

This section is empty.

Types

type UserService

type UserService interface {
	SignUp(ctx context.Context, user domain.User) (int32, error)
	Login(ctx context.Context, user domain.User) (domain.User, error)
	Delele(ctx context.Context, uid int32) error
	ModifyUserInfoById(ctx context.Context, user domain.User) (domain.User, error)
	GetUserInfoByEmail(ctx context.Context, email string) (domain.User, error)
}

func NewUserSvc

func NewUserSvc(d dao.UserI, logger *logger.Logger) UserService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳