aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/functions/fmt/Println.md
blob: 358b5f8ac3726e209bfdb389f36773165bf7b706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
title: fmt.Println
linkTitle: println
description: Prints the default representation of the given argument using the standard `fmt.Print` function and enforces a linebreak.
categories: [functions]
keywords: []
menu:
  docs:
    parent: functions
function:
  aliases: [println]
  returnType: string
  signatures: [fmt.Println INPUT]
relatedFunctions:
  - fmt.Print
  - fmt.Printf
  - fmt.Println
aliases: [/functions/println]
---

```go-html-template
{{ println "foo" }} → "foo\n"
```