Made a library? Written a blog post? Found a useful tutorial? Share it with the Go community here or just enjoy what everyone else has found!
While Go is still 1.15.x and doesn't yet have standard embeds, here is how to embed templates (or whatever assets you need) in your code with pkger
.
https://osinet.fr/go/en/articles/bundling-templates-with-pkger/
Posted by: Frédéric G. MARAND