Closed suifengtec closed 4 years ago
@suifengtec No. That v2
is for using Casbin v2.x with Go Modules. It's NOT a typo. See: https://github.com/casbin/xorm-adapter/commit/ebef68566824a8c2980e359cf2401793fe424148
If you encounter a problem, you should solve it in another way.
@hsluoyz Use it without Go module, it will throw an error, it will be normal when removed v2
,
go get -u github.com/casbin/casbin
try again, the error also throwed , it will disappear only removed the v2
from this package.
Could you help me?
Please use Xorm Adapter v1.0.0: https://github.com/casbin/xorm-adapter/releases/tag/v1.0.0
adjusting names of imported packages