println.md (602B)
1 --- 2 title: println 3 linktitle: println 4 description: Prints the default representation of the given argument using the standard `fmt.Print` function and enforces a linebreak. 5 date: 2017-02-01 6 publishdate: 2017-02-01 7 lastmod: 2017-02-01 8 categories: [functions] 9 menu: 10 docs: 11 parent: "functions" 12 keywords: [strings] 13 signature: ["println INPUT"] 14 workson: [] 15 hugoversion: 16 relatedfuncs: [] 17 deprecated: false 18 --- 19 20 See [the go doc](https://golang.org/pkg/fmt/) for additional information. `\n` denotes the linebreak but isn't printed in the templates as seen below: 21 22 ``` 23 {{ println "foo" }} → "foo\n" 24 ```