1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 19:30:54 +00:00

Merge pull request #2654 from casbin/master

Fix the new repo address for casbin.
This commit is contained in:
astaxie 2017-05-19 23:34:58 +08:00 committed by GitHub
commit 5e8312bc23
3 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ install:
- go get github.com/cloudflare/golz4
- go get github.com/gogo/protobuf/proto
- go get github.com/Knetic/govaluate
- go get github.com/hsluoyz/casbin
- go get github.com/casbin/casbin
- go get -u honnef.co/go/tools/cmd/gosimple
- go get -u github.com/mdempsky/unconvert
- go get -u github.com/gordonklaus/ineffassign

View File

@ -17,7 +17,7 @@
// import(
// "github.com/astaxie/beego"
// "github.com/astaxie/beego/plugins/authz"
// "github.com/hsluoyz/casbin"
// "github.com/casbin/casbin"
// )
//
// func main(){
@ -42,7 +42,7 @@ package authz
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
"github.com/hsluoyz/casbin"
"github.com/casbin/casbin"
"net/http"
)

View File

@ -18,7 +18,7 @@ import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
"github.com/astaxie/beego/plugins/auth"
"github.com/hsluoyz/casbin"
"github.com/casbin/casbin"
"net/http"
"net/http/httptest"
"testing"