this is a API to handle role base access control in software development,I built this API using GO Language and Using gin for framework.
Please install golang first in your system and then run:
go get github.com/crmspy/go-rbac
go to folder $GOPATH/github.com/crmspy/go-rbac then run this command:
#install all Install dependencies
go get -d -v
#or
go get ./...
#run application
go run main.go
#to build and run application
go build main.go && ./main
api service will automatically run on port localhost:8080
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.