From: Bjørn Erik Pedersen Date: Sat, 5 Nov 2016 16:05:18 +0000 (+0100) Subject: hugolib: Simplify range X-Git-Tag: v0.18~141 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=72156e40;p=brevno-suite%2Fhugo hugolib: Simplify range --- diff --git a/hugolib/site.go b/hugolib/site.go index 6aa274a4..6940d74b 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -2265,7 +2265,7 @@ func (s *Site) getOrAddNode(nodeID string, add bool) *Node { if !add { // this is a test type error, print the keys - for k, _ := range s.nodeCache.m { + for k := range s.nodeCache.m { fmt.Println("Node:", k) } return nil