Versions in this module Expand all Collapse all v1 v1.18.0 Jan 29, 2020 Changes in this version + func NewUserUsecase(repo repository.UserRepository, service *service.UserService) *userUsecase + type User struct + Id int64 + Name string + type UserUsecase interface + GetUser func(id int64) (*User, error) + GetUserList func(page, size int) ([]*User, error) + LoginUser func(name, pwd string) (*User, error) + RegisterUser func(name, pwd string) (*User, error)