aboutsummaryrefslogtreecommitdiffhomepage
path: root/model
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 /model
parent7f2612d9a67ccb97a9cee8c330b7445f11497d01 (diff)
Use canonical imports
Diffstat (limited to 'model')
-rw-r--r--model/app_session.go2
-rw-r--r--model/category.go2
-rw-r--r--model/category_test.go2
-rw-r--r--model/doc.go2
-rw-r--r--model/enclosure.go2
-rw-r--r--model/entry.go2
-rw-r--r--model/entry_test.go2
-rw-r--r--model/feed.go2
-rw-r--r--model/icon.go2
-rw-r--r--model/integration.go2
-rw-r--r--model/job.go2
-rw-r--r--model/theme.go4
-rw-r--r--model/theme_test.go2
-rw-r--r--model/user.go4
-rw-r--r--model/user_session.go4
-rw-r--r--model/user_test.go2
16 files changed, 19 insertions, 19 deletions
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"