mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Use canonical imports
This commit is contained in:
parent
7f2612d9a6
commit
dbcc5d8a97
263 changed files with 962 additions and 956 deletions
|
@ -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" }}
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
Package template handles template parsing and execution.
|
||||
|
||||
*/
|
||||
package template
|
||||
package template // import "miniflux.app/template"
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue