3 ms·
I wanted to statically compile a single HTML template file recently, and I liked using vfsgen [1] and vfstemplate [2]. I also found this comparison of librarie
by ValentineC 8y ago
I wanted to statically compile a single HTML template file recently, and I liked using vfsgen [1] and vfstemplate [2].
I also found this comparison of libraries pretty good: https://tech.townsourced.com/post/embedding-static-files-in-go/ https://tech.townsourced.com/post/embedding-static-files-in-...
[1] https://github.com/shurcooL/vfsgen https://github.com/shurcooL/vfsgen
[2] https://github.com/shurcooL/httpfs/blob/master/html/vfstemplate/vfstemplate.go https://github.com/shurcooL/httpfs/blob/master/html/vfstempl...