diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-06-13 19:07:35 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-06-13 19:12:10 +0200 |
commit | 873a6f18851bcda79d562ff6c02e1109e8e31a88 (patch) | |
tree | dd6bc11de530ad9fc05be0ff1d0b3c84afb67b5e /commands | |
parent | f503d76a3b2719bbb65ab9df5595d0dbc871fae9 (diff) |
Run gofmt to get imports in line vs gohugoio/hugo
Diffstat (limited to 'commands')
-rw-r--r-- | commands/convert.go | 4 | ||||
-rw-r--r-- | commands/gendoc.go | 4 | ||||
-rw-r--r-- | commands/gendocshelper.go | 2 | ||||
-rw-r--r-- | commands/genman.go | 4 | ||||
-rw-r--r-- | commands/hugo.go | 6 | ||||
-rw-r--r-- | commands/import_jekyll.go | 6 | ||||
-rw-r--r-- | commands/list.go | 2 | ||||
-rw-r--r-- | commands/new.go | 4 | ||||
-rw-r--r-- | commands/release.go | 2 | ||||
-rw-r--r-- | commands/server.go | 4 | ||||
-rw-r--r-- | commands/undraft.go | 2 | ||||
-rw-r--r-- | commands/version.go | 4 |
12 files changed, 22 insertions, 22 deletions
diff --git a/commands/convert.go b/commands/convert.go index e40f5fa40..298ff6019 100644 --- a/commands/convert.go +++ b/commands/convert.go @@ -19,10 +19,10 @@ import ( "path/filepath" "time" - "github.com/spf13/cast" - "github.com/spf13/cobra" "github.com/gohugoio/hugo/hugolib" "github.com/gohugoio/hugo/parser" + "github.com/spf13/cast" + "github.com/spf13/cobra" ) var outputDir string diff --git a/commands/gendoc.go b/commands/gendoc.go index 70e87dd6f..c4840050b 100644 --- a/commands/gendoc.go +++ b/commands/gendoc.go @@ -20,10 +20,10 @@ import ( "strings" "time" - "github.com/spf13/cobra" - "github.com/spf13/cobra/doc" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" + "github.com/spf13/cobra" + "github.com/spf13/cobra/doc" jww "github.com/spf13/jwalterweatherman" ) diff --git a/commands/gendocshelper.go b/commands/gendocshelper.go index 1d83232ec..ca781242e 100644 --- a/commands/gendocshelper.go +++ b/commands/gendocshelper.go @@ -19,8 +19,8 @@ import ( "os" "path/filepath" - "github.com/spf13/cobra" "github.com/gohugoio/hugo/docshelper" + "github.com/spf13/cobra" ) type genDocsHelper struct { diff --git a/commands/genman.go b/commands/genman.go index dd85a6e6a..004e669e7 100644 --- a/commands/genman.go +++ b/commands/genman.go @@ -17,10 +17,10 @@ import ( "fmt" "strings" - "github.com/spf13/cobra" - "github.com/spf13/cobra/doc" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" + "github.com/spf13/cobra" + "github.com/spf13/cobra/doc" jww "github.com/spf13/jwalterweatherman" ) diff --git a/commands/hugo.go b/commands/hugo.go index 918e76474..b965ba167 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -38,15 +38,15 @@ import ( "regexp" "github.com/fsnotify/fsnotify" - "github.com/spf13/afero" - "github.com/spf13/cobra" - "github.com/spf13/fsync" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugolib" "github.com/gohugoio/hugo/livereload" "github.com/gohugoio/hugo/utils" "github.com/gohugoio/hugo/watcher" + "github.com/spf13/afero" + "github.com/spf13/cobra" + "github.com/spf13/fsync" jww "github.com/spf13/jwalterweatherman" "github.com/spf13/nitro" "github.com/spf13/viper" diff --git a/commands/import_jekyll.go b/commands/import_jekyll.go index 37f06bb2f..26a41c82a 100644 --- a/commands/import_jekyll.go +++ b/commands/import_jekyll.go @@ -25,13 +25,13 @@ import ( "strings" "time" - "github.com/spf13/afero" - "github.com/spf13/cast" - "github.com/spf13/cobra" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/hugolib" "github.com/gohugoio/hugo/parser" + "github.com/spf13/afero" + "github.com/spf13/cast" + "github.com/spf13/cobra" jww "github.com/spf13/jwalterweatherman" ) diff --git a/commands/list.go b/commands/list.go index 4f3319c57..b2a6b5395 100644 --- a/commands/list.go +++ b/commands/list.go @@ -16,8 +16,8 @@ package commands import ( "path/filepath" - "github.com/spf13/cobra" "github.com/gohugoio/hugo/hugolib" + "github.com/spf13/cobra" jww "github.com/spf13/jwalterweatherman" ) diff --git a/commands/new.go b/commands/new.go index 5b48abaf1..24f34b549 100644 --- a/commands/new.go +++ b/commands/new.go @@ -22,13 +22,13 @@ import ( "strings" "time" - "github.com/spf13/afero" - "github.com/spf13/cobra" "github.com/gohugoio/hugo/create" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/hugolib" "github.com/gohugoio/hugo/parser" + "github.com/spf13/afero" + "github.com/spf13/cobra" jww "github.com/spf13/jwalterweatherman" "github.com/spf13/viper" ) diff --git a/commands/release.go b/commands/release.go index c306b2c2b..c9275a0f0 100644 --- a/commands/release.go +++ b/commands/release.go @@ -16,8 +16,8 @@ package commands import ( - "github.com/spf13/cobra" "github.com/gohugoio/hugo/releaser" + "github.com/spf13/cobra" ) func init() { diff --git a/commands/server.go b/commands/server.go index 0c16b959f..32a94f9c8 100644 --- a/commands/server.go +++ b/commands/server.go @@ -24,10 +24,10 @@ import ( "strings" "time" - "github.com/spf13/afero" - "github.com/spf13/cobra" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/helpers" + "github.com/spf13/afero" + "github.com/spf13/cobra" jww "github.com/spf13/jwalterweatherman" ) diff --git a/commands/undraft.go b/commands/undraft.go index ae17ab34d..2a3b85360 100644 --- a/commands/undraft.go +++ b/commands/undraft.go @@ -19,8 +19,8 @@ import ( "os" "time" - "github.com/spf13/cobra" "github.com/gohugoio/hugo/parser" + "github.com/spf13/cobra" ) var undraftCmd = &cobra.Command{ diff --git a/commands/version.go b/commands/version.go index a05967d21..5cd398b2b 100644 --- a/commands/version.go +++ b/commands/version.go @@ -20,10 +20,10 @@ import ( "strings" "time" - "github.com/kardianos/osext" - "github.com/spf13/cobra" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugolib" + "github.com/kardianos/osext" + "github.com/spf13/cobra" jww "github.com/spf13/jwalterweatherman" ) |