aboutsummaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-08-24 21:51:50 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-08-24 21:56:39 -0700
commitdbcc5d8a972f4f169e9e2c0636450555a06152b9 (patch)
tree00d7ed89efc2ffdbfa4c602ba66b0c156d48cb0d /api
parent7f2612d9a67ccb97a9cee8c330b7445f11497d01 (diff)
Use canonical imports
Diffstat (limited to 'api')
-rw-r--r--api/category.go8
-rw-r--r--api/controller.go6
-rw-r--r--api/doc.go2
-rw-r--r--api/entry.go12
-rw-r--r--api/feed.go8
-rw-r--r--api/icon.go8
-rw-r--r--api/opml.go10
-rw-r--r--api/payload.go4
-rw-r--r--api/payload_test.go4
-rw-r--r--api/subscription.go6
-rw-r--r--api/user.go8
11 files changed, 38 insertions, 38 deletions
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.