Allows you to manage user permissions and roles
// Adding requirements
go mod tidy
// running service
go run main.go
//or
go build main.go
./main.exe
This package allows you to manage user permissions and roles.
test example:
go.exe test -timeout 30s -run ^TestCreateUser$ authserver
go.exe test -timeout 30s -run ^TestDeleteUser$ authserver
go.exe test -timeout 30s -run ^TestCreateRole$ authserver
go.exe test -timeout 30s -run ^TestDeleteRole$ authserver
test example:
go.exe test -timeout 30s -run ^TestAddRoleToUser$ authserver
test example:
go.exe test -timeout 30s -run ^TestAuth$ authserver