Go

See examples on how to write Go templates.

Conditionals

Example Go template with conditionals.

Functions

Built-in and custom functions available in Go templates.

Loops with Maps

Example Go template with loops and maps.

Loops with Slices

Example Go template with loops and slices.

Multiline

Example Go template with multiline strings.

Platform Vars

Example Go template with platform vars.

Template Vars

Example Golang template with template vars.