wlbr/templify
A tool to be used with 'go generate' to embed external template files into Go code.
This tool helps Go developers embed external template files (like HTML) directly into their Go application's source code. You start with a separate template file written in a text editor. The tool then generates a Go source file containing the template as a string, making it part of your application at compile time. This is for Go developers who need to bundle all their assets into a single executable.
No commits in the last 6 months.
Use this if you are a Go developer building a single-file application that uses Go's template packages and you want to keep your templates in separate files for easier editing.
Not ideal if you prefer to load templates from external files at runtime or if your application doesn't need to be a single executable.
Stars
30
Forks
6
Language
Go
License
MIT
Category
Last pushed
Aug 16, 2021
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/wlbr/templify"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.