println

将以下英文翻译为中文:

println

https://gohugo.io/functions/println/

Prints the default representation of the given argument using the standard fmt.Print function and enforces a linebreak.

语法

println INPUT

See the go doc for additional information. \n denotes the linebreak but isn’t printed in the templates as seen below:

1
{{ println "foo" }} → "foo\n"

另请参阅