diff options
author | bep <[email protected]> | 2015-03-05 23:19:10 +0100 |
---|---|---|
committer | bep <[email protected]> | 2015-03-05 23:57:38 +0100 |
commit | 6e1b0e0c00ced52979b8629161e36e45d51a47e6 (patch) | |
tree | e204d6b37c86ecab8fdfc63ec9143f12abaef6f4 /create | |
parent | 8557e2cbb821663a5a482d904b031dff831b06cc (diff) | |
download | hugo-6e1b0e0c00ced52979b8629161e36e45d51a47e6.tar.gz hugo-6e1b0e0c00ced52979b8629161e36e45d51a47e6.zip |
Apply gofmt -s
Diffstat (limited to 'create')
-rw-r--r-- | create/content.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/create/content.go b/create/content.go index fa37f2666..acb788c63 100644 --- a/create/content.go +++ b/create/content.go @@ -63,7 +63,7 @@ func NewContent(kind, name string) (err error) { return err } - for k, _ := range newmetadata { + for k := range newmetadata { switch strings.ToLower(k) { case "date": newmetadata[k] = time.Now() @@ -73,7 +73,7 @@ func NewContent(kind, name string) (err error) { } caseimatch := func(m map[string]interface{}, key string) bool { - for k, _ := range m { + for k := range m { if strings.ToLower(k) == strings.ToLower(key) { return true } |