fmt.Print
Returns the default string representation of the given arguments.
- Syntax
- fmt.Print INPUT
- Returns
- string
- Alias
{{ print "foo" }} → foo
{{ print "foo" "bar" }} → foobar
{{ print (slice 1 2 3) }} → [1 2 3]Last updated:
September 11, 2026
:
content: Comply with function/method description guidance in style guide (76fa3fc9e)
Improve this page