mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-04 05:21:32 +00:00
25 lines
527 B
Markdown
25 lines
527 B
Markdown
---
|
|
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]
|
|
```
|