aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader/opml
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 /reader/opml
parent7f2612d9a67ccb97a9cee8c330b7445f11497d01 (diff)
Use canonical imports
Diffstat (limited to 'reader/opml')
-rw-r--r--reader/opml/handler.go8
-rw-r--r--reader/opml/opml.go2
-rw-r--r--reader/opml/parser.go6
-rw-r--r--reader/opml/parser_test.go2
-rw-r--r--reader/opml/serializer.go4
-rw-r--r--reader/opml/serializer_test.go2
-rw-r--r--reader/opml/subscription.go2
7 files changed, 13 insertions, 13 deletions
diff --git a/reader/opml/handler.go b/reader/opml/handler.go
index 3bbce6c..9861243 100644
--- a/reader/opml/handler.go
+++ b/reader/opml/handler.go
@@ -2,16 +2,16 @@
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
-package opml
+package opml // import "miniflux.app/reader/opml"
import (
"errors"
"fmt"
"io"
- "github.com/miniflux/miniflux/logger"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/storage"
+ "miniflux.app/logger"
+ "miniflux.app/model"
+ "miniflux.app/storage"
)
// Handler handles the logic for OPML import/export.
diff --git a/reader/opml/opml.go b/reader/opml/opml.go
index ab81812..27d0167 100644
--- a/reader/opml/opml.go
+++ b/reader/opml/opml.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 opml
+package opml // import "miniflux.app/reader/opml"
import "encoding/xml"
diff --git a/reader/opml/parser.go b/reader/opml/parser.go
index 93f2f25..1c24a70 100644
--- a/reader/opml/parser.go
+++ b/reader/opml/parser.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 opml
+package opml // import "miniflux.app/reader/opml"
import (
"encoding/xml"
"io"
- "github.com/miniflux/miniflux/errors"
- "github.com/miniflux/miniflux/reader/encoding"
+ "miniflux.app/errors"
+ "miniflux.app/reader/encoding"
)
// Parse reads an OPML file and returns a SubcriptionList.
diff --git a/reader/opml/parser_test.go b/reader/opml/parser_test.go
index e00d578..ef8e9f1 100644
--- a/reader/opml/parser_test.go
+++ b/reader/opml/parser_test.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 opml
+package opml // import "miniflux.app/reader/opml"
import (
"bytes"
diff --git a/reader/opml/serializer.go b/reader/opml/serializer.go
index 68cafa9..c094f4c 100644
--- a/reader/opml/serializer.go
+++ b/reader/opml/serializer.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 opml
+package opml // import "miniflux.app/reader/opml"
import (
"bufio"
"bytes"
"encoding/xml"
- "github.com/miniflux/miniflux/logger"
+ "miniflux.app/logger"
)
// Serialize returns a SubcriptionList in OPML format.
diff --git a/reader/opml/serializer_test.go b/reader/opml/serializer_test.go
index dd431d9..9c598ee 100644
--- a/reader/opml/serializer_test.go
+++ b/reader/opml/serializer_test.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 opml
+package opml // import "miniflux.app/reader/opml"
import (
"bytes"
diff --git a/reader/opml/subscription.go b/reader/opml/subscription.go
index 45f2597..415b095 100644
--- a/reader/opml/subscription.go
+++ b/reader/opml/subscription.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 opml
+package opml // import "miniflux.app/reader/opml"
// Subcription represents a feed that will be imported or exported.
type Subcription struct {