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 --- model/app_session.go | 2 +- model/category.go | 2 +- model/category_test.go | 2 +- model/doc.go | 2 +- model/enclosure.go | 2 +- model/entry.go | 2 +- model/entry_test.go | 2 +- model/feed.go | 2 +- model/icon.go | 2 +- model/integration.go | 2 +- model/job.go | 2 +- model/theme.go | 4 ++-- model/theme_test.go | 2 +- model/user.go | 4 ++-- model/user_session.go | 4 ++-- model/user_test.go | 2 +- 16 files changed, 19 insertions(+), 19 deletions(-) (limited to 'model') diff --git a/model/app_session.go b/model/app_session.go index e9ee06e..4f97c4c 100644 --- a/model/app_session.go +++ b/model/app_session.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 model +package model // import "miniflux.app/model" import ( "database/sql/driver" diff --git a/model/category.go b/model/category.go index 1c72851..40a132d 100644 --- a/model/category.go +++ b/model/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 model +package model // import "miniflux.app/model" import ( "errors" diff --git a/model/category_test.go b/model/category_test.go index 9f8a054..47a524d 100644 --- a/model/category_test.go +++ b/model/category_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 model +package model // import "miniflux.app/model" import "testing" diff --git a/model/doc.go b/model/doc.go index 4718d8a..bef8495 100644 --- a/model/doc.go +++ b/model/doc.go @@ -7,4 +7,4 @@ Package model contains all data structures used by the application. */ -package model +package model // import "miniflux.app/model" diff --git a/model/enclosure.go b/model/enclosure.go index 6de1af7..5238879 100644 --- a/model/enclosure.go +++ b/model/enclosure.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 model +package model // import "miniflux.app/model" // Enclosure represents an attachment. type Enclosure struct { diff --git a/model/entry.go b/model/entry.go index 104601e..75ffaca 100644 --- a/model/entry.go +++ b/model/entry.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 model +package model // import "miniflux.app/model" import ( "fmt" diff --git a/model/entry_test.go b/model/entry_test.go index 8b92d3f..d6440df 100644 --- a/model/entry_test.go +++ b/model/entry_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 model +package model // import "miniflux.app/model" import "testing" diff --git a/model/feed.go b/model/feed.go index d019eeb..d6ce0d1 100644 --- a/model/feed.go +++ b/model/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 model +package model // import "miniflux.app/model" import ( "fmt" diff --git a/model/icon.go b/model/icon.go index 3608a0a..5e3bd76 100644 --- a/model/icon.go +++ b/model/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 model +package model // import "miniflux.app/model" import ( "encoding/base64" diff --git a/model/integration.go b/model/integration.go index e4282a4..9fc5696 100644 --- a/model/integration.go +++ b/model/integration.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 model +package model // import "miniflux.app/model" // Integration represents user integration settings. type Integration struct { diff --git a/model/job.go b/model/job.go index 9f9167b..7a42437 100644 --- a/model/job.go +++ b/model/job.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 model +package model // import "miniflux.app/model" // Job represents a payload sent to the processing queue. type Job struct { diff --git a/model/theme.go b/model/theme.go index f58f91c..9d379fd 100644 --- a/model/theme.go +++ b/model/theme.go @@ -2,9 +2,9 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package model +package model // import "miniflux.app/model" -import "github.com/miniflux/miniflux/errors" +import "miniflux.app/errors" // Themes returns the list of available themes. func Themes() map[string]string { diff --git a/model/theme_test.go b/model/theme_test.go index ddf58c4..0e710db 100644 --- a/model/theme_test.go +++ b/model/theme_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 model +package model // import "miniflux.app/model" import "testing" diff --git a/model/user.go b/model/user.go index 6a985e3..6c537b2 100644 --- a/model/user.go +++ b/model/user.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 model +package model // import "miniflux.app/model" import ( "errors" "time" - "github.com/miniflux/miniflux/timezone" + "miniflux.app/timezone" ) // User represents a user in the system. diff --git a/model/user_session.go b/model/user_session.go index 51b2543..55c2d67 100644 --- a/model/user_session.go +++ b/model/user_session.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 model +package model // import "miniflux.app/model" import ( "fmt" "time" - "github.com/miniflux/miniflux/timezone" + "miniflux.app/timezone" ) // UserSession represents a user session in the system. diff --git a/model/user_test.go b/model/user_test.go index e7bcb1e..d560e35 100644 --- a/model/user_test.go +++ b/model/user_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 model +package model // import "miniflux.app/model" import "testing" -- cgit v1.2.3