service

package
v0.0.0-...-d77a3c6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultUserService

type DefaultUserService struct {
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(daoInit domain.UserDao) DefaultUserService

func (DefaultUserService) GetUser

func (u DefaultUserService) GetUser(userId int64) (*domain.User, *utils.AppError)

type UserService

type UserService interface {
	GetUser(userId int64) (*domain.User, *utils.AppError)
}

Jump to

Keyboard shortcuts

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