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 --- storage/category.go | 6 +++--- storage/doc.go | 2 +- storage/enclosure.go | 4 ++-- storage/entry.go | 8 ++++---- storage/entry_pagination_builder.go | 6 +++--- storage/entry_query_builder.go | 8 ++++---- storage/feed.go | 8 ++++---- storage/icon.go | 6 +++--- storage/integration.go | 4 ++-- storage/job.go | 6 +++--- storage/session.go | 6 +++--- storage/storage.go | 2 +- storage/timezone.go | 4 ++-- storage/user.go | 6 +++--- storage/user_session.go | 6 +++--- 15 files changed, 41 insertions(+), 41 deletions(-) (limited to 'storage') 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. -- cgit v1.2.3