aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/fmt
diff options
context:
space:
mode:
authorCameron Moore <[email protected]>2017-09-25 21:25:33 -0500
committerBjørn Erik Pedersen <[email protected]>2017-09-29 16:23:16 +0200
commit47fdfd5196cd24a23b30afe1d88969ffb413ab59 (patch)
treee2b4dc5bb5341ab2d8588879fb733ee888b9164b /tpl/fmt
parentd45e358a0543d987091ef54b56eadd9cebda2e0f (diff)
downloadhugo-47fdfd5196cd24a23b30afe1d88969ffb413ab59.tar.gz
hugo-47fdfd5196cd24a23b30afe1d88969ffb413ab59.zip
Clean up lint in various packages
Changes fall into one of the following: - gofmt -s - receiver name is inconsistent - omit unused 2nd value from range - godoc comment formed incorrectly - err assigned and not used - if block ends with a return statement followed by else
Diffstat (limited to 'tpl/fmt')
-rw-r--r--tpl/fmt/fmt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/fmt/fmt.go b/tpl/fmt/fmt.go
index e9d47dbd4..96695442e 100644
--- a/tpl/fmt/fmt.go
+++ b/tpl/fmt/fmt.go
@@ -37,7 +37,7 @@ func (ns *Namespace) Printf(format string, a ...interface{}) string {
}
-// Print returns string representation of the passed arguments ending with a newline.
+// Println returns string representation of the passed arguments ending with a newline.
func (ns *Namespace) Println(a ...interface{}) string {
return _fmt.Sprintln(a...)
}