MCPcopy Index your code
hub / github.com/dipeshhkc/learning-casbin-golang

github.com/dipeshhkc/learning-casbin-golang @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
43 symbols 92 edges 9 files 12 documented · 28% updated 4y ago★ 71

Browse by type

Functions 38 Types & classes 5
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Implementation of casbin on golang gorm projects

Go through my article

  1. Understanding Casbin with different Access Control Model Configurations
  2. Authorization in Golang Projects using Casbin

Running Project

  1. create Database casbin-golang
  2. run go run main

Casbin Workflow

Workflow

Middleware Casbin

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 27
Function 11
Struct 3
Interface 2

Languages

Go100%

Modules by API surface

repository/user_repository.go17 symbols
controller/user_controller.go15 symbols
utils/bcrypt.go4 symbols
model/user.go2 symbols
route/route.go1 symbols
model/db.go1 symbols
middleware/authorize_jwt.go1 symbols
middleware/access_control.go1 symbols
main.go1 symbols

For agents

$ claude mcp add learning-casbin-golang \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page