Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidUserId = errors.New("invalid user id") ErrCouldNotCloseDbConnection = errors.New("could not close db connection") )
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func InitUserService ¶
func InitUserService(dbUri string, userId string) (*UserService, error)
func (*UserService) GetUser ¶
func (us *UserService) GetUser() UserData
Click to show internal directories.
Click to hide internal directories.