From dbcc5d8a972f4f169e9e2c0636450555a06152b9 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 24 Aug 2018 21:51:50 -0700 Subject: Use canonical imports --- api/category.go | 8 ++++---- api/controller.go | 6 +++--- api/doc.go | 2 +- api/entry.go | 12 ++++++------ api/feed.go | 8 ++++---- api/icon.go | 8 ++++---- api/opml.go | 10 +++++----- api/payload.go | 4 ++-- api/payload_test.go | 4 ++-- api/subscription.go | 6 +++--- api/user.go | 8 ++++---- 11 files changed, 38 insertions(+), 38 deletions(-) (limited to 'api') diff --git a/api/category.go b/api/category.go index b7b5c02..86766c9 100644 --- a/api/category.go +++ b/api/category.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 api +package api // import "miniflux.app/api" import ( "errors" "net/http" - "github.com/miniflux/miniflux/http/context" - "github.com/miniflux/miniflux/http/request" - "github.com/miniflux/miniflux/http/response/json" + "miniflux.app/http/context" + "miniflux.app/http/request" + "miniflux.app/http/response/json" ) // CreateCategory is the API handler to create a new category. diff --git a/api/controller.go b/api/controller.go index c9798e3..5cdc056 100644 --- a/api/controller.go +++ b/api/controller.go @@ -2,11 +2,11 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package api +package api // import "miniflux.app/api" import ( - "github.com/miniflux/miniflux/reader/feed" - "github.com/miniflux/miniflux/storage" + "miniflux.app/reader/feed" + "miniflux.app/storage" ) // Controller holds all handlers for the API. diff --git a/api/doc.go b/api/doc.go index a43e463..68ddc32 100644 --- a/api/doc.go +++ b/api/doc.go @@ -7,4 +7,4 @@ Package api implements API endpoints for Miniflux application. */ -package api +package api // import "miniflux.app/api" diff --git a/api/entry.go b/api/entry.go index b2a4d9d..cb9c043 100644 --- a/api/entry.go +++ b/api/entry.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 api +package api // import "miniflux.app/api" import ( "errors" "net/http" "time" - "github.com/miniflux/miniflux/http/context" - "github.com/miniflux/miniflux/http/request" - "github.com/miniflux/miniflux/http/response/json" - "github.com/miniflux/miniflux/model" - "github.com/miniflux/miniflux/storage" + "miniflux.app/http/context" + "miniflux.app/http/request" + "miniflux.app/http/response/json" + "miniflux.app/model" + "miniflux.app/storage" ) // GetFeedEntry is the API handler to get a single feed entry. diff --git a/api/feed.go b/api/feed.go index b6b6357..0474005 100644 --- a/api/feed.go +++ b/api/feed.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 api +package api // import "miniflux.app/api" import ( "errors" "net/http" - "github.com/miniflux/miniflux/http/context" - "github.com/miniflux/miniflux/http/request" - "github.com/miniflux/miniflux/http/response/json" + "miniflux.app/http/context" + "miniflux.app/http/request" + "miniflux.app/http/response/json" ) // CreateFeed is the API handler to create a new feed. diff --git a/api/icon.go b/api/icon.go index 052cdbc..2d2171a 100644 --- a/api/icon.go +++ b/api/icon.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 api +package api // import "miniflux.app/api" import ( "errors" "net/http" - "github.com/miniflux/miniflux/http/context" - "github.com/miniflux/miniflux/http/request" - "github.com/miniflux/miniflux/http/response/json" + "miniflux.app/http/context" + "miniflux.app/http/request" + "miniflux.app/http/response/json" ) // FeedIcon returns a feed icon. diff --git a/api/opml.go b/api/opml.go index 8613ded..8554dc1 100644 --- a/api/opml.go +++ b/api/opml.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 api +package api // import "miniflux.app/api" import ( "net/http" - "github.com/miniflux/miniflux/http/context" - "github.com/miniflux/miniflux/http/response/json" - "github.com/miniflux/miniflux/http/response/xml" - "github.com/miniflux/miniflux/reader/opml" + "miniflux.app/http/context" + "miniflux.app/http/response/json" + "miniflux.app/http/response/xml" + "miniflux.app/reader/opml" ) // Export is the API handler that export feeds to OPML. diff --git a/api/payload.go b/api/payload.go index ed5255a..ee1e41b 100644 --- a/api/payload.go +++ b/api/payload.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 api +package api // import "miniflux.app/api" import ( "encoding/json" "fmt" "io" - "github.com/miniflux/miniflux/model" + "miniflux.app/model" ) type feedIcon struct { diff --git a/api/payload_test.go b/api/payload_test.go index debf897..f890fe6 100644 --- a/api/payload_test.go +++ b/api/payload_test.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 api +package api // import "miniflux.app/api" import ( "testing" - "github.com/miniflux/miniflux/model" + "miniflux.app/model" ) func TestUpdateFeedURL(t *testing.T) { diff --git a/api/subscription.go b/api/subscription.go index a28c3b2..ee471c6 100644 --- a/api/subscription.go +++ b/api/subscription.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 api +package api // import "miniflux.app/api" import ( "errors" "fmt" "net/http" - "github.com/miniflux/miniflux/http/response/json" - "github.com/miniflux/miniflux/reader/subscription" + "miniflux.app/http/response/json" + "miniflux.app/reader/subscription" ) // GetSubscriptions is the API handler to find subscriptions. diff --git a/api/user.go b/api/user.go index b880ba3..1222ccd 100644 --- a/api/user.go +++ b/api/user.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 api +package api // import "miniflux.app/api" import ( "errors" "net/http" - "github.com/miniflux/miniflux/http/context" - "github.com/miniflux/miniflux/http/request" - "github.com/miniflux/miniflux/http/response/json" + "miniflux.app/http/context" + "miniflux.app/http/request" + "miniflux.app/http/response/json" ) // CurrentUser is the API handler to retrieve the authenticated user. -- cgit v1.2.3