~evanj/embed

Statically embed files in your Go source code. //go:generate
Feat(mod): Moving project to module and cmd structure (so clients can
Clean(embed_test.go): Ensure directory is made for test files in
Feat(binary): Fully support embedded binary files.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~evanj/embed
read/write
git@git.sr.ht:~evanj/embed

You can also use your local clone with git send-email.

This program will statically embed files (think HTML files for templates) in
your Go source code.

Minimal example:

//go:generate -pattern 'html/*' -id htmlFiles