Go template validation

When working with the "text/template" and "html/template" packages, I often have a hard time understanding go's errors, especially when they're inline in code. This is a simple tool to visually show where validation errors are happening.

To use, choose a file, insert your template code directly, or copy and paste a string literal from source. You can add mock data in the form of JSON.

Input