package service_user type UserService interface { GetUserInfo(*UserInfoPayload) *UserInfoResult UpdateUserInfo(*UserInfoPayload) *UserInfoResult ListUsers(*UserListPayload) *UserListResult CreateUser() } type UserServiceImpl struct{} func NewUserService() UserService { return &UserServiceImpl{} }