aboutsummaryrefslogtreecommitdiffhomepage
path: root/storage
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 /storage
parent7f2612d9a67ccb97a9cee8c330b7445f11497d01 (diff)
Use canonical imports
Diffstat (limited to 'storage')
-rw-r--r--storage/category.go6
-rw-r--r--storage/doc.go2
-rw-r--r--storage/enclosure.go4
-rw-r--r--storage/entry.go8
-rw-r--r--storage/entry_pagination_builder.go6
-rw-r--r--storage/entry_query_builder.go8
-rw-r--r--storage/feed.go8
-rw-r--r--storage/icon.go6
-rw-r--r--storage/integration.go4
-rw-r--r--storage/job.go6
-rw-r--r--storage/session.go6
-rw-r--r--storage/storage.go2
-rw-r--r--storage/timezone.go4
-rw-r--r--storage/user.go6
-rw-r--r--storage/user_session.go6
15 files changed, 41 insertions, 41 deletions
diff --git a/storage/category.go b/storage/category.go
index bbb4c86..deb8e24 100644
--- a/storage/category.go
+++ b/storage/category.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 storage
+package storage // import "miniflux.app/storage"
import (
"database/sql"
@@ -10,8 +10,8 @@ import (
"fmt"
"time"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/timer"
+ "miniflux.app/model"
+ "miniflux.app/timer"
)
// AnotherCategoryExists checks if another category exists with the same title.
diff --git a/storage/doc.go b/storage/doc.go
index aede4e8..ab8d0b5 100644
--- a/storage/doc.go
+++ b/storage/doc.go
@@ -7,4 +7,4 @@
Package storage implements a set of functions to interact with the database.
*/
-package storage
+package storage // import "miniflux.app/storage"
diff --git a/storage/enclosure.go b/storage/enclosure.go
index 5ae0a43..0fc7be7 100644
--- a/storage/enclosure.go
+++ b/storage/enclosure.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 storage
+package storage // import "miniflux.app/storage"
import (
"fmt"
- "github.com/miniflux/miniflux/model"
+ "miniflux.app/model"
)
// GetEnclosures returns all attachments for the given entry.
diff --git a/storage/entry.go b/storage/entry.go
index b703a4c..9fd8a53 100644
--- a/storage/entry.go
+++ b/storage/entry.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 storage
+package storage // import "miniflux.app/storage"
import (
"errors"
"fmt"
"time"
- "github.com/miniflux/miniflux/logger"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/timer"
+ "miniflux.app/logger"
+ "miniflux.app/model"
+ "miniflux.app/timer"
"github.com/lib/pq"
)
diff --git a/storage/entry_pagination_builder.go b/storage/entry_pagination_builder.go
index e443b00..ce6f7fc 100644
--- a/storage/entry_pagination_builder.go
+++ b/storage/entry_pagination_builder.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 storage
+package storage // import "miniflux.app/storage"
import (
"database/sql"
@@ -10,8 +10,8 @@ import (
"strings"
"time"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/timer"
+ "miniflux.app/model"
+ "miniflux.app/timer"
)
// EntryPaginationBuilder is a builder for entry prev/next queries.
diff --git a/storage/entry_query_builder.go b/storage/entry_query_builder.go
index 8c0d706..18cf735 100644
--- a/storage/entry_query_builder.go
+++ b/storage/entry_query_builder.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 storage
+package storage // import "miniflux.app/storage"
import (
"fmt"
@@ -11,9 +11,9 @@ import (
"github.com/lib/pq"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/timer"
- "github.com/miniflux/miniflux/timezone"
+ "miniflux.app/model"
+ "miniflux.app/timer"
+ "miniflux.app/timezone"
)
// EntryQueryBuilder builds a SQL query to fetch entries.
diff --git a/storage/feed.go b/storage/feed.go
index 326ada8..283b095 100644
--- a/storage/feed.go
+++ b/storage/feed.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 storage
+package storage // import "miniflux.app/storage"
import (
"database/sql"
@@ -10,9 +10,9 @@ import (
"fmt"
"time"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/timer"
- "github.com/miniflux/miniflux/timezone"
+ "miniflux.app/model"
+ "miniflux.app/timer"
+ "miniflux.app/timezone"
)
// FeedExists checks if the given feed exists.
diff --git a/storage/icon.go b/storage/icon.go
index 5e8b5dc..3a3686d 100644
--- a/storage/icon.go
+++ b/storage/icon.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 storage
+package storage // import "miniflux.app/storage"
import (
"database/sql"
@@ -10,8 +10,8 @@ import (
"strings"
"time"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/timer"
+ "miniflux.app/model"
+ "miniflux.app/timer"
)
// HasIcon checks if the given feed has an icon.
diff --git a/storage/integration.go b/storage/integration.go
index 5a7ef19..6bc7064 100644
--- a/storage/integration.go
+++ b/storage/integration.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 storage
+package storage // import "miniflux.app/storage"
import (
"database/sql"
"fmt"
- "github.com/miniflux/miniflux/model"
+ "miniflux.app/model"
)
// HasDuplicateFeverUsername checks if another user have the same fever username.
diff --git a/storage/job.go b/storage/job.go
index e20a0c4..41e63fa 100644
--- a/storage/job.go
+++ b/storage/job.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 storage
+package storage // import "miniflux.app/storage"
import (
"fmt"
"time"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/timer"
+ "miniflux.app/model"
+ "miniflux.app/timer"
)
const maxParsingError = 3
diff --git a/storage/session.go b/storage/session.go
index 1e6fb42..4139684 100644
--- a/storage/session.go
+++ b/storage/session.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 storage
+package storage // import "miniflux.app/storage"
import (
"database/sql"
"fmt"
- "github.com/miniflux/miniflux/crypto"
- "github.com/miniflux/miniflux/model"
+ "miniflux.app/crypto"
+ "miniflux.app/model"
)
// CreateSession creates a new session.
diff --git a/storage/storage.go b/storage/storage.go
index 19372f0..c2aef77 100644
--- a/storage/storage.go
+++ b/storage/storage.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 storage
+package storage // import "miniflux.app/storage"
import (
"database/sql"
diff --git a/storage/timezone.go b/storage/timezone.go
index 396c7d4..714d003 100644
--- a/storage/timezone.go
+++ b/storage/timezone.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 storage
+package storage // import "miniflux.app/storage"
import (
"fmt"
"strings"
"time"
- "github.com/miniflux/miniflux/timer"
+ "miniflux.app/timer"
)
// Timezones returns all timezones supported by the database.
diff --git a/storage/user.go b/storage/user.go
index de58c09..9d584d5 100644
--- a/storage/user.go
+++ b/storage/user.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 storage
+package storage // import "miniflux.app/storage"
import (
"database/sql"
@@ -11,8 +11,8 @@ import (
"strings"
"time"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/timer"
+ "miniflux.app/model"
+ "miniflux.app/timer"
"github.com/lib/pq/hstore"
"golang.org/x/crypto/bcrypt"
diff --git a/storage/user_session.go b/storage/user_session.go
index 990157d..9c1381e 100644
--- a/storage/user_session.go
+++ b/storage/user_session.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 storage
+package storage // import "miniflux.app/storage"
import (
"database/sql"
"fmt"
- "github.com/miniflux/miniflux/crypto"
- "github.com/miniflux/miniflux/model"
+ "miniflux.app/crypto"
+ "miniflux.app/model"
)
// UserSessions returns the list of sessions for the given user.