diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-08-24 21:51:50 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-08-24 21:56:39 -0700 |
commit | dbcc5d8a972f4f169e9e2c0636450555a06152b9 (patch) | |
tree | 00d7ed89efc2ffdbfa4c602ba66b0c156d48cb0d /http/response | |
parent | 7f2612d9a67ccb97a9cee8c330b7445f11497d01 (diff) |
Use canonical imports
Diffstat (limited to 'http/response')
-rw-r--r-- | http/response/html/html.go | 6 | ||||
-rw-r--r-- | http/response/json/json.go | 6 | ||||
-rw-r--r-- | http/response/response.go | 2 | ||||
-rw-r--r-- | http/response/xml/xml.go | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/http/response/html/html.go b/http/response/html/html.go index a17ce04..65a4649 100644 --- a/http/response/html/html.go +++ b/http/response/html/html.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 html +package html // import "miniflux.app/http/response/html" import ( "net/http" - "github.com/miniflux/miniflux/http/response" - "github.com/miniflux/miniflux/logger" + "miniflux.app/http/response" + "miniflux.app/logger" ) // OK writes a standard HTML response. diff --git a/http/response/json/json.go b/http/response/json/json.go index 6f3eb15..f19efb0 100644 --- a/http/response/json/json.go +++ b/http/response/json/json.go @@ -2,15 +2,15 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package json +package json // import "miniflux.app/http/response/json" import ( "encoding/json" "errors" "net/http" - "github.com/miniflux/miniflux/http/response" - "github.com/miniflux/miniflux/logger" + "miniflux.app/http/response" + "miniflux.app/logger" ) // OK sends a JSON response with the status code 200. diff --git a/http/response/response.go b/http/response/response.go index f792625..4d73171 100644 --- a/http/response/response.go +++ b/http/response/response.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 response +package response // import "miniflux.app/http/response" import ( "compress/flate" diff --git a/http/response/xml/xml.go b/http/response/xml/xml.go index 9e37e87..bceb5f1 100644 --- a/http/response/xml/xml.go +++ b/http/response/xml/xml.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 xml +package xml // import "miniflux.app/http/response/xml" import ( "fmt" |