Simple yet powerful template language for Go

Get started Language Elements

🔍 Parse string

You can use package to parse a string with embedded Textwire code. It can be useful for email templates, markdown, files, etc.

📃 Templating system

You can use package as a template system your website, blog, or any other project

🖼️ Define layouts

You can define layouts for your template files and use them to easily render content

🌈 Syntax Highlighting

You get syntax highlighting and other features for Textwire in with VSCode extension

🚀 Fast

Textwire is very fast and has a low memory footprint because it parses templates into an AST tree when application starts

🚦 Error handling

Proper error handling with error messages containing line numbers and file names.