fix: pass a Context explicity instead of keeping it in struct

Signed-off-by: Zyad A. Ali <zyad.ali.me@gmail.com>
2 files changed
tree: 228be5e8973f4ffdcd0d0ff88c9c6231be05dfa1
  1. .gitignore
  2. client.go
  3. enforce.go
  4. go.mod
  5. go.sum
  6. LICENSE
  7. main.go
  8. README.md
README.md

Go client for Casbin Server

casbin-go-client is Golang's client for Casbin-Server. Casbin-Server is the Access Control as a Service (ACaaS) solution based on Casbin.

Installation

go get github.com/casbin/casbin-go-client

License

This project is under Apache 2.0 License. See the LICENSE file for the full license text.