diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/collections/collections.go | 2 | ||||
-rw-r--r-- | tpl/collections/sort.go | 2 | ||||
-rw-r--r-- | tpl/data/cache.go | 2 | ||||
-rw-r--r-- | tpl/data/resources.go | 2 | ||||
-rw-r--r-- | tpl/data/resources_test.go | 2 | ||||
-rw-r--r-- | tpl/images/images.go | 2 | ||||
-rw-r--r-- | tpl/images/images_test.go | 4 | ||||
-rw-r--r-- | tpl/lang/lang.go | 2 | ||||
-rw-r--r-- | tpl/os/os.go | 2 | ||||
-rw-r--r-- | tpl/os/os_test.go | 2 | ||||
-rw-r--r-- | tpl/safe/safe.go | 2 | ||||
-rw-r--r-- | tpl/strings/strings.go | 2 | ||||
-rw-r--r-- | tpl/tplimpl/template.go | 2 | ||||
-rw-r--r-- | tpl/tplimpl/template_funcs_test.go | 2 | ||||
-rw-r--r-- | tpl/transform/transform.go | 2 | ||||
-rw-r--r-- | tpl/urls/urls.go | 2 |
16 files changed, 17 insertions, 17 deletions
diff --git a/tpl/collections/collections.go b/tpl/collections/collections.go index 2a29062d7..ae2d73b46 100644 --- a/tpl/collections/collections.go +++ b/tpl/collections/collections.go @@ -23,9 +23,9 @@ import ( "strings" "time" - "github.com/spf13/cast" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/cast" ) // New returns a new instance of the collections-namespaced template functions. diff --git a/tpl/collections/sort.go b/tpl/collections/sort.go index 36faf207e..206a19cb5 100644 --- a/tpl/collections/sort.go +++ b/tpl/collections/sort.go @@ -19,8 +19,8 @@ import ( "sort" "strings" - "github.com/spf13/cast" "github.com/gohugoio/hugo/tpl/compare" + "github.com/spf13/cast" ) var comp = compare.New() diff --git a/tpl/data/cache.go b/tpl/data/cache.go index a9b0f0138..b4f91c0f8 100644 --- a/tpl/data/cache.go +++ b/tpl/data/cache.go @@ -18,9 +18,9 @@ import ( "net/url" "sync" - "github.com/spf13/afero" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/afero" ) var cacheMu sync.RWMutex diff --git a/tpl/data/resources.go b/tpl/data/resources.go index bc9d4b7c4..11c35f9d9 100644 --- a/tpl/data/resources.go +++ b/tpl/data/resources.go @@ -21,9 +21,9 @@ import ( "sync" "time" - "github.com/spf13/afero" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/afero" jww "github.com/spf13/jwalterweatherman" ) diff --git a/tpl/data/resources_test.go b/tpl/data/resources_test.go index 31e782362..de83f771d 100644 --- a/tpl/data/resources_test.go +++ b/tpl/data/resources_test.go @@ -23,11 +23,11 @@ import ( "testing" "time" - "github.com/spf13/afero" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" + "github.com/spf13/afero" "github.com/spf13/viper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/tpl/images/images.go b/tpl/images/images.go index 69bc77a34..f98c24286 100644 --- a/tpl/images/images.go +++ b/tpl/images/images.go @@ -23,8 +23,8 @@ import ( _ "image/jpeg" _ "image/png" - "github.com/spf13/cast" "github.com/gohugoio/hugo/deps" + "github.com/spf13/cast" ) // New returns a new instance of the images-namespaced template functions. diff --git a/tpl/images/images_test.go b/tpl/images/images_test.go index 6fa93b106..c9b78ea9a 100644 --- a/tpl/images/images_test.go +++ b/tpl/images/images_test.go @@ -22,10 +22,10 @@ import ( "path/filepath" "testing" - "github.com/spf13/afero" - "github.com/spf13/cast" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/hugofs" + "github.com/spf13/afero" + "github.com/spf13/cast" "github.com/spf13/viper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/tpl/lang/lang.go b/tpl/lang/lang.go index 0442e4dec..3a659b119 100644 --- a/tpl/lang/lang.go +++ b/tpl/lang/lang.go @@ -19,8 +19,8 @@ import ( "strconv" "strings" - "github.com/spf13/cast" "github.com/gohugoio/hugo/deps" + "github.com/spf13/cast" ) // New returns a new instance of the lang-namespaced template functions. diff --git a/tpl/os/os.go b/tpl/os/os.go index 4addae5a6..fb60f87dd 100644 --- a/tpl/os/os.go +++ b/tpl/os/os.go @@ -18,9 +18,9 @@ import ( "fmt" _os "os" + "github.com/gohugoio/hugo/deps" "github.com/spf13/afero" "github.com/spf13/cast" - "github.com/gohugoio/hugo/deps" ) // New returns a new instance of the os-namespaced template functions. diff --git a/tpl/os/os_test.go b/tpl/os/os_test.go index 772fcb76a..383eb88c4 100644 --- a/tpl/os/os_test.go +++ b/tpl/os/os_test.go @@ -18,9 +18,9 @@ import ( "path/filepath" "testing" - "github.com/spf13/afero" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/hugofs" + "github.com/spf13/afero" "github.com/spf13/viper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/tpl/safe/safe.go b/tpl/safe/safe.go index 49db9dd82..64c36cc4d 100644 --- a/tpl/safe/safe.go +++ b/tpl/safe/safe.go @@ -16,8 +16,8 @@ package safe import ( "html/template" - "github.com/spf13/cast" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/cast" ) // New returns a new instance of the safe-namespaced template functions. diff --git a/tpl/strings/strings.go b/tpl/strings/strings.go index 36af1a1c5..ec95be730 100644 --- a/tpl/strings/strings.go +++ b/tpl/strings/strings.go @@ -20,9 +20,9 @@ import ( _strings "strings" "unicode/utf8" - "github.com/spf13/cast" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/cast" ) // New returns a new instance of the strings-namespaced template functions. diff --git a/tpl/tplimpl/template.go b/tpl/tplimpl/template.go index 13be7ee6d..06ab775c3 100644 --- a/tpl/tplimpl/template.go +++ b/tpl/tplimpl/template.go @@ -29,10 +29,10 @@ import ( "path/filepath" "sync" - "github.com/spf13/afero" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/tpl" + "github.com/spf13/afero" ) const ( diff --git a/tpl/tplimpl/template_funcs_test.go b/tpl/tplimpl/template_funcs_test.go index 038a204e3..04f4464ec 100644 --- a/tpl/tplimpl/template_funcs_test.go +++ b/tpl/tplimpl/template_funcs_test.go @@ -24,7 +24,6 @@ import ( "log" "os" - "github.com/spf13/afero" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" @@ -32,6 +31,7 @@ import ( "github.com/gohugoio/hugo/i18n" "github.com/gohugoio/hugo/tpl" "github.com/gohugoio/hugo/tpl/internal" + "github.com/spf13/afero" jww "github.com/spf13/jwalterweatherman" "github.com/spf13/viper" "github.com/stretchr/testify/require" diff --git a/tpl/transform/transform.go b/tpl/transform/transform.go index 2cc4295b2..b41b41b9c 100644 --- a/tpl/transform/transform.go +++ b/tpl/transform/transform.go @@ -18,9 +18,9 @@ import ( "html" "html/template" - "github.com/spf13/cast" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/cast" ) // New returns a new instance of the transform-namespaced template functions. diff --git a/tpl/urls/urls.go b/tpl/urls/urls.go index 60078695f..e29cabe89 100644 --- a/tpl/urls/urls.go +++ b/tpl/urls/urls.go @@ -17,8 +17,8 @@ import ( "errors" "html/template" - "github.com/spf13/cast" "github.com/gohugoio/hugo/deps" + "github.com/spf13/cast" ) // New returns a new instance of the urls-namespaced template functions. |