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

```go-html-template
{{ print "foo" }} → "foo"
{{ print "foo" "bar" }} → "foobar"
{{ print (slice 1 2 3) }} → [1 2 3]
```