Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tpl/fmt
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2017-09-26 05:25:33 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-09-29 17:23:16 +0300
commit47fdfd5196cd24a23b30afe1d88969ffb413ab59 (patch)
treee2b4dc5bb5341ab2d8588879fb733ee888b9164b /tpl/fmt
parentd45e358a0543d987091ef54b56eadd9cebda2e0f (diff)
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...)
}