aboutsummaryrefslogtreecommitdiffhomepage
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/common.go2
-rw-r--r--template/dict.go2
-rw-r--r--template/dict_test.go2
-rw-r--r--template/doc.go2
-rw-r--r--template/elapsed.go6
-rw-r--r--template/elapsed_test.go4
-rw-r--r--template/engine.go10
-rw-r--r--template/functions.go12
-rw-r--r--template/views.go2
9 files changed, 21 insertions, 21 deletions
diff --git a/template/common.go b/template/common.go
index 665e90f..a252391 100644
--- a/template/common.go
+++ b/template/common.go
@@ -1,6 +1,6 @@
// Code generated by go generate; DO NOT EDIT.
-package template
+package template // import "miniflux.app/template"
var templateCommonMap = map[string]string{
"entry_pagination": `{{ define "entry_pagination" }}
diff --git a/template/dict.go b/template/dict.go
index 3056bcd..1251bb6 100644
--- a/template/dict.go
+++ b/template/dict.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 template
+package template // import "miniflux.app/template"
import "fmt"
diff --git a/template/dict_test.go b/template/dict_test.go
index 8b236e0..ef4b17c 100644
--- a/template/dict_test.go
+++ b/template/dict_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 template
+package template // import "miniflux.app/template"
import (
"testing"
diff --git a/template/doc.go b/template/doc.go
index 5bdae47..ead768d 100644
--- a/template/doc.go
+++ b/template/doc.go
@@ -7,4 +7,4 @@
Package template handles template parsing and execution.
*/
-package template
+package template // import "miniflux.app/template"
diff --git a/template/elapsed.go b/template/elapsed.go
index 5c5d98c..bfcc3ee 100644
--- a/template/elapsed.go
+++ b/template/elapsed.go
@@ -2,14 +2,14 @@
// Use of this source code is governed by the MIT License
// that can be found in the LICENSE file.
-package template
+package template // import "miniflux.app/template"
import (
"math"
"time"
- "github.com/miniflux/miniflux/locale"
- "github.com/miniflux/miniflux/timezone"
+ "miniflux.app/locale"
+ "miniflux.app/timezone"
)
// Texts to be translated if necessary.
diff --git a/template/elapsed_test.go b/template/elapsed_test.go
index b5fd4fa..987833a 100644
--- a/template/elapsed_test.go
+++ b/template/elapsed_test.go
@@ -2,14 +2,14 @@
// Use of this source code is governed by the MIT License
// that can be found in the LICENSE file.
-package template
+package template // import "miniflux.app/template"
import (
"fmt"
"testing"
"time"
- "github.com/miniflux/miniflux/locale"
+ "miniflux.app/locale"
)
func TestElapsedTime(t *testing.T) {
diff --git a/template/engine.go b/template/engine.go
index 8055582..5a46e0c 100644
--- a/template/engine.go
+++ b/template/engine.go
@@ -2,17 +2,17 @@
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
-package template
+package template // import "miniflux.app/template"
import (
"bytes"
"html/template"
"time"
- "github.com/miniflux/miniflux/config"
- "github.com/miniflux/miniflux/errors"
- "github.com/miniflux/miniflux/locale"
- "github.com/miniflux/miniflux/logger"
+ "miniflux.app/config"
+ "miniflux.app/errors"
+ "miniflux.app/locale"
+ "miniflux.app/logger"
"github.com/gorilla/mux"
)
diff --git a/template/functions.go b/template/functions.go
index 225984b..d20b445 100644
--- a/template/functions.go
+++ b/template/functions.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 template
+package template // import "miniflux.app/template"
import (
"bytes"
@@ -12,11 +12,11 @@ import (
"time"
"github.com/gorilla/mux"
- "github.com/miniflux/miniflux/config"
- "github.com/miniflux/miniflux/filter"
- "github.com/miniflux/miniflux/http/route"
- "github.com/miniflux/miniflux/model"
- "github.com/miniflux/miniflux/url"
+ "miniflux.app/config"
+ "miniflux.app/filter"
+ "miniflux.app/http/route"
+ "miniflux.app/model"
+ "miniflux.app/url"
)
type funcMap struct {
diff --git a/template/views.go b/template/views.go
index 861dea6..2912f22 100644
--- a/template/views.go
+++ b/template/views.go
@@ -1,6 +1,6 @@
// Code generated by go generate; DO NOT EDIT.
-package template
+package template // import "miniflux.app/template"
var templateViewsMap = map[string]string{
"about": `{{ define "title"}}{{ t "About" }}{{ end }}