github.com/rabbouni145/gg@v0.47.1/docs/content/en/functions/println.md (about) 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 godocref: https://golang.org/pkg/fmt/ 6 date: 2017-02-01 7 publishdate: 2017-02-01 8 lastmod: 2017-02-01 9 categories: [functions] 10 menu: 11 docs: 12 parent: "functions" 13 keywords: [strings] 14 signature: ["println INPUT"] 15 workson: [] 16 hugoversion: 17 relatedfuncs: [] 18 deprecated: false 19 --- 20 21 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: 22 23 ``` 24 {{ println "foo" }} → "foo\n" 25 ```