diff options
author | 2018-08-24 21:51:50 -0700 | |
---|---|---|
committer | 2018-08-24 21:56:39 -0700 | |
commit | dbcc5d8a972f4f169e9e2c0636450555a06152b9 (patch) | |
tree | 00d7ed89efc2ffdbfa4c602ba66b0c156d48cb0d /middleware | |
parent | 7f2612d9a67ccb97a9cee8c330b7445f11497d01 (diff) |
Use canonical imports
Diffstat (limited to 'middleware')
-rw-r--r-- | middleware/app_session.go | 12 | ||||
-rw-r--r-- | middleware/basic_auth.go | 6 | ||||
-rw-r--r-- | middleware/common_headers.go | 2 | ||||
-rw-r--r-- | middleware/context_keys.go | 2 | ||||
-rw-r--r-- | middleware/fever.go | 6 | ||||
-rw-r--r-- | middleware/header_config.go | 2 | ||||
-rw-r--r-- | middleware/logging.go | 6 | ||||
-rw-r--r-- | middleware/middleware.go | 6 | ||||
-rw-r--r-- | middleware/user_session.go | 14 |
9 files changed, 28 insertions, 28 deletions
diff --git a/middleware/app_session.go b/middleware/app_session.go index ae1d8e9..8b3284b 100644 --- a/middleware/app_session.go +++ b/middleware/app_session.go @@ -2,18 +2,18 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package middleware +package middleware // import "miniflux.app/middleware" import ( "context" "errors" "net/http" - "github.com/miniflux/miniflux/http/cookie" - "github.com/miniflux/miniflux/http/request" - "github.com/miniflux/miniflux/http/response/html" - "github.com/miniflux/miniflux/logger" - "github.com/miniflux/miniflux/model" + "miniflux.app/http/cookie" + "miniflux.app/http/request" + "miniflux.app/http/response/html" + "miniflux.app/logger" + "miniflux.app/model" ) // AppSession handles application session middleware. diff --git a/middleware/basic_auth.go b/middleware/basic_auth.go index edea333..c02913f 100644 --- a/middleware/basic_auth.go +++ b/middleware/basic_auth.go @@ -2,14 +2,14 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package middleware +package middleware // import "miniflux.app/middleware" import ( "context" "net/http" - "github.com/miniflux/miniflux/http/response/json" - "github.com/miniflux/miniflux/logger" + "miniflux.app/http/response/json" + "miniflux.app/logger" ) // BasicAuth handles HTTP basic authentication. diff --git a/middleware/common_headers.go b/middleware/common_headers.go index bdec580..a60969f 100644 --- a/middleware/common_headers.go +++ b/middleware/common_headers.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package middleware +package middleware // import "miniflux.app/middleware" import ( "net/http" diff --git a/middleware/context_keys.go b/middleware/context_keys.go index 03a3e2b..80b5e96 100644 --- a/middleware/context_keys.go +++ b/middleware/context_keys.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package middleware +package middleware // import "miniflux.app/middleware" // ContextKey represents a context key. type ContextKey struct { diff --git a/middleware/fever.go b/middleware/fever.go index 6211fb7..3fdbcfd 100644 --- a/middleware/fever.go +++ b/middleware/fever.go @@ -2,14 +2,14 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package middleware +package middleware // import "miniflux.app/middleware" import ( "context" "net/http" - "github.com/miniflux/miniflux/http/response/json" - "github.com/miniflux/miniflux/logger" + "miniflux.app/http/response/json" + "miniflux.app/logger" ) // FeverAuth handles Fever API authentication. diff --git a/middleware/header_config.go b/middleware/header_config.go index 91d1820..4302ac8 100644 --- a/middleware/header_config.go +++ b/middleware/header_config.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package middleware +package middleware // import "miniflux.app/middleware" import ( "net/http" diff --git a/middleware/logging.go b/middleware/logging.go index 48158b4..2e78ea8 100644 --- a/middleware/logging.go +++ b/middleware/logging.go @@ -2,13 +2,13 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package middleware +package middleware // import "miniflux.app/middleware" import ( "net/http" - "github.com/miniflux/miniflux/http/request" - "github.com/miniflux/miniflux/logger" + "miniflux.app/http/request" + "miniflux.app/logger" ) // Logging logs the HTTP request. diff --git a/middleware/middleware.go b/middleware/middleware.go index 3c1bb0e..cf393d2 100644 --- a/middleware/middleware.go +++ b/middleware/middleware.go @@ -2,12 +2,12 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package middleware +package middleware // import "miniflux.app/middleware" import ( "github.com/gorilla/mux" - "github.com/miniflux/miniflux/config" - "github.com/miniflux/miniflux/storage" + "miniflux.app/config" + "miniflux.app/storage" ) // Middleware handles different middleware handlers. diff --git a/middleware/user_session.go b/middleware/user_session.go index b27858f..764cbdb 100644 --- a/middleware/user_session.go +++ b/middleware/user_session.go @@ -2,18 +2,18 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package middleware +package middleware // import "miniflux.app/middleware" import ( "context" "net/http" - "github.com/miniflux/miniflux/http/cookie" - "github.com/miniflux/miniflux/http/request" - "github.com/miniflux/miniflux/http/response" - "github.com/miniflux/miniflux/http/route" - "github.com/miniflux/miniflux/logger" - "github.com/miniflux/miniflux/model" + "miniflux.app/http/cookie" + "miniflux.app/http/request" + "miniflux.app/http/response" + "miniflux.app/http/route" + "miniflux.app/logger" + "miniflux.app/model" "github.com/gorilla/mux" ) |