diff options
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/case_insensitive_test.go | 2 | ||||
-rw-r--r-- | hugolib/config.go | 2 | ||||
-rw-r--r-- | hugolib/disableKinds_test.go | 2 | ||||
-rw-r--r-- | hugolib/hugo_sites_build_test.go | 2 | ||||
-rw-r--r-- | hugolib/multilingual.go | 2 | ||||
-rw-r--r-- | hugolib/page.go | 4 | ||||
-rw-r--r-- | hugolib/page_test.go | 2 | ||||
-rw-r--r-- | hugolib/site.go | 4 | ||||
-rw-r--r-- | hugolib/site_output.go | 2 | ||||
-rw-r--r-- | hugolib/site_sections.go | 2 | ||||
-rw-r--r-- | hugolib/testhelpers_test.go | 2 |
11 files changed, 13 insertions, 13 deletions
diff --git a/hugolib/case_insensitive_test.go b/hugolib/case_insensitive_test.go index d065a6923..ca63196b3 100644 --- a/hugolib/case_insensitive_test.go +++ b/hugolib/case_insensitive_test.go @@ -19,9 +19,9 @@ import ( "strings" "testing" - "github.com/spf13/afero" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/hugofs" + "github.com/spf13/afero" "github.com/stretchr/testify/require" ) diff --git a/hugolib/config.go b/hugolib/config.go index 80b7bff39..62cdea952 100644 --- a/hugolib/config.go +++ b/hugolib/config.go @@ -16,8 +16,8 @@ package hugolib import ( "fmt" - "github.com/spf13/afero" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/afero" "github.com/spf13/viper" ) diff --git a/hugolib/disableKinds_test.go b/hugolib/disableKinds_test.go index 81f277c72..736d461db 100644 --- a/hugolib/disableKinds_test.go +++ b/hugolib/disableKinds_test.go @@ -18,8 +18,8 @@ import ( "fmt" - "github.com/spf13/afero" "github.com/gohugoio/hugo/deps" + "github.com/spf13/afero" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" diff --git a/hugolib/hugo_sites_build_test.go b/hugolib/hugo_sites_build_test.go index 06867ab3d..988a36916 100644 --- a/hugolib/hugo_sites_build_test.go +++ b/hugolib/hugo_sites_build_test.go @@ -13,11 +13,11 @@ import ( "github.com/fortytw2/leaktest" "github.com/fsnotify/fsnotify" - "github.com/spf13/afero" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/source" + "github.com/spf13/afero" "github.com/spf13/viper" "github.com/stretchr/testify/require" ) diff --git a/hugolib/multilingual.go b/hugolib/multilingual.go index 04efe6386..575be1396 100644 --- a/hugolib/multilingual.go +++ b/hugolib/multilingual.go @@ -21,9 +21,9 @@ import ( "errors" "fmt" - "github.com/spf13/cast" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/cast" ) type Multilingual struct { diff --git a/hugolib/page.go b/hugolib/page.go index a0ea7183c..d4aca37a4 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -21,10 +21,10 @@ import ( "github.com/bep/gitmap" - "github.com/mitchellh/mapstructure" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/output" "github.com/gohugoio/hugo/parser" + "github.com/mitchellh/mapstructure" "html/template" "io" @@ -36,9 +36,9 @@ import ( "time" "unicode/utf8" - "github.com/spf13/cast" bp "github.com/gohugoio/hugo/bufferpool" "github.com/gohugoio/hugo/source" + "github.com/spf13/cast" ) var ( diff --git a/hugolib/page_test.go b/hugolib/page_test.go index dbb7e38ee..352c7dd41 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -25,9 +25,9 @@ import ( "testing" "time" - "github.com/spf13/cast" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/cast" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/hugolib/site.go b/hugolib/site.go index 78f02ff80..829023d15 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -37,8 +37,6 @@ import ( "sync/atomic" "github.com/fsnotify/fsnotify" - "github.com/spf13/afero" - "github.com/spf13/cast" bp "github.com/gohugoio/hugo/bufferpool" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" @@ -47,6 +45,8 @@ import ( "github.com/gohugoio/hugo/source" "github.com/gohugoio/hugo/tpl" "github.com/gohugoio/hugo/transform" + "github.com/spf13/afero" + "github.com/spf13/cast" "github.com/spf13/nitro" "github.com/spf13/viper" ) diff --git a/hugolib/site_output.go b/hugolib/site_output.go index cbd85f35b..f5eb2ba57 100644 --- a/hugolib/site_output.go +++ b/hugolib/site_output.go @@ -18,10 +18,10 @@ import ( "path" "strings" - "github.com/spf13/cast" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/output" + "github.com/spf13/cast" ) func createSiteOutputFormats(allFormats output.Formats, cfg config.Provider) (map[string]output.Formats, error) { diff --git a/hugolib/site_sections.go b/hugolib/site_sections.go index 0e4370118..f8d9c9d1f 100644 --- a/hugolib/site_sections.go +++ b/hugolib/site_sections.go @@ -19,8 +19,8 @@ import ( "strconv" "strings" - radix "github.com/hashicorp/go-immutable-radix" "github.com/gohugoio/hugo/helpers" + radix "github.com/hashicorp/go-immutable-radix" ) // Deprecated: Use .Site.Home.Sections. diff --git a/hugolib/testhelpers_test.go b/hugolib/testhelpers_test.go index 6439efb09..c386e6203 100644 --- a/hugolib/testhelpers_test.go +++ b/hugolib/testhelpers_test.go @@ -9,9 +9,9 @@ import ( "fmt" "strings" - "github.com/spf13/afero" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/deps" + "github.com/spf13/afero" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/source" |