{"id":15321777,"url":"https://github.com/dipeshhkc/learning-casbin-golang","last_synced_at":"2025-07-31T13:13:51.971Z","repository":{"id":46732764,"uuid":"378142293","full_name":"dipeshhkc/learning-casbin-golang","owner":"dipeshhkc","description":"Casbin Implementation on Golang","archived":false,"fork":false,"pushed_at":"2021-07-21T06:46:29.000Z","size":853,"stargazers_count":66,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T02:40:09.427Z","etag":null,"topics":["access-control","casbin","go","golang","rbac"],"latest_commit_sha":null,"homepage":"https://articles.wesionary.team/authorization-in-golang-projects-using-casbin-f8fad744dae5","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dipeshhkc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-18T12:23:53.000Z","updated_at":"2025-04-05T01:54:31.000Z","dependencies_parsed_at":"2022-08-20T13:10:35.607Z","dependency_job_id":null,"html_url":"https://github.com/dipeshhkc/learning-casbin-golang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dipeshhkc/learning-casbin-golang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipeshhkc%2Flearning-casbin-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipeshhkc%2Flearning-casbin-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipeshhkc%2Flearning-casbin-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipeshhkc%2Flearning-casbin-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dipeshhkc","download_url":"https://codeload.github.com/dipeshhkc/learning-casbin-golang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipeshhkc%2Flearning-casbin-golang/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268045396,"owners_count":24186794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["access-control","casbin","go","golang","rbac"],"created_at":"2024-10-01T09:12:59.339Z","updated_at":"2025-07-31T13:13:51.925Z","avatar_url":"https://github.com/dipeshhkc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Implementation of casbin on golang gorm projects\n\n### Go through my article\n\n1. [Understanding Casbin with different Access Control Model Configurations](https://medium.com/wesionary-team/understanding-casbin-with-different-access-control-model-configurations-faebc60f6da5) \n2. [Authorization in Golang Projects using Casbin](https://medium.com/wesionary-team/authorization-in-golang-projects-using-casbin-f8fad744dae5)\n\n### Running Project\n\n1. create Database `casbin-golang`\n2. run `go run main`\n\n\n### Casbin Workflow\n\n![Workflow](./casbin-workflow.jpg)\n\n### Middleware Casbin \n\n\u003cimg src=\"./casbin-middleware.jpg\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdipeshhkc%2Flearning-casbin-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdipeshhkc%2Flearning-casbin-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdipeshhkc%2Flearning-casbin-golang/lists"}