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

Fix the new repo address for casbin.

This commit is contained in:
Yang Luo 2017-05-19 22:19:31 +08:00
parent cab8458c1c
commit 88d07058a5
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/cloudflare/golz4
- go get github.com/gogo/protobuf/proto - go get github.com/gogo/protobuf/proto
- go get github.com/Knetic/govaluate - 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 honnef.co/go/tools/cmd/gosimple
- go get -u github.com/mdempsky/unconvert - go get -u github.com/mdempsky/unconvert
- go get -u github.com/gordonklaus/ineffassign - go get -u github.com/gordonklaus/ineffassign

View File

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

View File

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