go_template
Go html/template with a schema-validated field.
Browse this template in the repository →
The PDFs below are rendered live by PDF Server from the shipped examples.
default
Inputs
Render data
default
{
"value": "hello"
}Data schema
schema.json
{
"type": "object",
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
]
}Template
template.tmpl
<html><body><h1>{{ .value }}</h1></body></html>