aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/en/functions/fmt/Print.md
blob: 6f3128e5f01c432945daa0f617a93c017e3ba47b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
title: fmt.Print
description: Prints the default representation of the given arguments using the standard `fmt.Print` function.
categories: []
keywords: []
action:
  aliases: [print]
  related:
    - functions/fmt/Printf
    - functions/fmt/Println
  returnType: string
  signatures: [fmt.Print INPUT]
aliases: [/functions/print]
---

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