package
0.0.0-20210123160133-f2fa0dbd033d
Repository: https://github.com/golang-tire/auth.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
NewRepository creates a new user repository.
NewService creates a new user service.
ValidateAddUserRoleRequest validates the AddUserRoleRequest fields.
ValidateCreateRequest validates the CreateUserRequest fields.
Validate validates the UpdateUserRequest fields.
ValidateUpdateUserRoleRequest validates the AddUserRoleRequest fields.
# Interfaces
No description provided by the author
Repository encapsulates the logic to access users from the data source.
Service encapsulates use case logic for users.