Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: casbin mysql adapter import error #114

Merged
merged 1 commit into from
Apr 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions cmd/atomci/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ import (
"github.com/astaxie/beego"
_ "github.com/go-sql-driver/mysql" // import your used driver

"github.com/go-atomci/atomci/internal/cronjob"
_ "github.com/casbin/beego-orm-adapter/v2"
_ "github.com/go-atomci/atomci/internal/models"

_ "github.com/go-atomci/atomci/internal/initialize"
_ "github.com/go-atomci/atomci/internal/migrations"
_ "github.com/go-atomci/atomci/internal/models"

"github.com/go-atomci/atomci/internal/cronjob"
"github.com/go-atomci/atomci/internal/routers"
)

Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ replace (

require (
github.com/astaxie/beego v1.12.1
github.com/casbin/beego-orm-adapter/v2 v2.0.2 // indirect
github.com/casbin/beego-orm-adapter/v3 v3.0.2
github.com/casbin/beego-orm-adapter/v2 v2.0.2
github.com/casbin/casbin/v2 v2.37.4
github.com/colynn/go-ldap-client/v3 v3.0.0-20201016034829-4c1455a490de
github.com/dgrijalva/jwt-go v3.2.0+incompatible
Expand Down
Loading