1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00

Use canonical imports

This commit is contained in:
Frédéric Guillot 2018-08-24 21:51:50 -07:00
parent 7f2612d9a6
commit dbcc5d8a97
263 changed files with 962 additions and 956 deletions

View file

@ -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.

View file

@ -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.

View file

@ -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"

View file

@ -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 {

View file

@ -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.

View file

@ -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"

View file

@ -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.

View file

@ -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.

View file

@ -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"
)