aboutsummaryrefslogtreecommitdiffhomepage
path: root/create
diff options
context:
space:
mode:
authorbep <[email protected]>2015-03-05 23:19:10 +0100
committerbep <[email protected]>2015-03-05 23:57:38 +0100
commit6e1b0e0c00ced52979b8629161e36e45d51a47e6 (patch)
treee204d6b37c86ecab8fdfc63ec9143f12abaef6f4 /create
parent8557e2cbb821663a5a482d904b031dff831b06cc (diff)
downloadhugo-6e1b0e0c00ced52979b8629161e36e45d51a47e6.tar.gz
hugo-6e1b0e0c00ced52979b8629161e36e45d51a47e6.zip
Apply gofmt -s
Diffstat (limited to 'create')
-rw-r--r--create/content.go4
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
}