diff options
author | digitalcraftsman <digitalcraftsman@protonmail.com> | 2016-03-24 23:34:12 +0100 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2016-03-24 23:34:12 +0100 |
commit | 7c81c86bdde7d1d56bf92ce0f6edd29822a2d0de (patch) | |
tree | 66c77b1da860512fd9aa967136e55f65ad9e6fa1 /commands/import_jekyll.go | |
parent | 5d3705df16014c1404282234e30ef9d1c9be9c15 (diff) |
commands: Apply Golint rules
Diffstat (limited to 'commands/import_jekyll.go')
-rw-r--r-- | commands/import_jekyll.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/import_jekyll.go b/commands/import_jekyll.go index 25228c9f2..26020b0f9 100644 --- a/commands/import_jekyll.go +++ b/commands/import_jekyll.go @@ -108,7 +108,7 @@ func importFromJekyll(cmd *cobra.Command, args []string) error { } relPath = filepath.ToSlash(relPath) - var draft bool = false + draft := false switch { case strings.HasPrefix(relPath, "_posts/"): |