sqlx adapter for Casbin https://github.com/casbin/casbin
go get github.com/memwey/casbin-sqlx-adapter
The implement is kind of different from the official one. In this implement you should create the database and table on your own.
In my opinion, in a general PRODUCTION environment, the business code can rarely create a database, create a table or drop a table.
Special thanks to casin. They provide a superb authorization library.
Special thanks to sqlx. It provides a brilliant set of extensions on go's standard
This is a very first opensource of me and if this project violates any of the opensource guidelines, please contact me. The project is far from perfect, issues and pull requesets are very welcome.
This project is under Apache 2.0 License. See the LICENSE file for the full license text.