diff --git a/authz.go b/authz.go index b130e2c..3e75717 100644 --- a/authz.go +++ b/authz.go @@ -3,9 +3,9 @@ package authz import ( "net/http" + "github.com/caddyserver/caddy" + "github.com/caddyserver/caddy/caddyhttp/httpserver" "github.com/casbin/casbin" - "github.com/mholt/caddy" - "github.com/mholt/caddy/caddyhttp/httpserver" ) // Authorizer is a middleware for filtering clients based on their ip or country's ISO code. diff --git a/authz_test.go b/authz_test.go index 2d8361e..3489c05 100644 --- a/authz_test.go +++ b/authz_test.go @@ -5,8 +5,8 @@ import ( "net/http/httptest" "testing" + "github.com/caddyserver/caddy/caddyhttp/httpserver" "github.com/casbin/casbin" - "github.com/mholt/caddy/caddyhttp/httpserver" ) func testRequest(t *testing.T, handler Authorizer, user string, path string, method string, code int) {