Skip to content

bartventer/go-template-playground

Repository files navigation

Go Template Playground

Go Reference Release Go Report Card codecov Build Deployment GitHub issues License

An interactive environment to create and test Go templates. The playground runs entirely in the browser without any server-side processing. It uses WebAssembly to execute Go code in the browser.

Go Template Playground Demo

Try it out

Features

  • 🌑 Dark mode
  • ✨ Code autocomplete
  • 📝 Input editor for Go template language syntax
  • 📄 Data input editor supporting JSON, YAML, and TOML
  • 🖨️ Output editor with support for plaintext and Markdown, including a built-in Markdown viewer
  • 🔍 Syntax highlighting
  • 📐 Responsive design
  • 🎨 Customizable layout
  • 📤 Import and export templates and data
  • 🚀 No server-side processing
  • 🔒 No tracking or analytics

Credits

The Go gopher was designed by Renee French and is licensed under the Creative Commons 3.0 Attributions license.

Contributing

All contributions are welcome! See the Contributing Guide for more details.

License

This project is licensed under the Apache License, Version 2.0. See LICENSE for more information.