Commit 5e8312bc authored by astaxie's avatar astaxie Committed by GitHub

Merge pull request #2654 from casbin/master

Fix the new repo address for casbin.
parents f0b95c55 88d07058
...@@ -34,7 +34,7 @@ install: ...@@ -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
......
...@@ -17,7 +17,7 @@ ...@@ -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 ...@@ -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"
) )
......
...@@ -18,7 +18,7 @@ import ( ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment