Closed dmitshur closed 8 years ago
I've found https://mattjibson.com/blog/2014/11/19/esc-embedding-static-assets/, which helps answer this question somewhat. Unfortunately, I don't see vfsgen
in the comparison there, I wonder how it would stack up for the needs you specified.
That post is from late 2014, and vfsgen
has only been around for 6-12 months or so, which explains why you couldn't have listed it there.
Yes, feel free to add esc if you like. It looks pretty similar but a bit different than vfsgen, which is nice. From first looks I think vfsgen has some features esc doesn't. I like that vfsgen also generates its own go:generate script instead of relying on itself being installed. That's slick and an improvement over esc.
Hi there,
I just discovered this project. I have a similar one called
vfsgen
, that also generates a .go file that implementshttp.FileSystem
and only uses standard library.In its README, I have a list of alternatives because I think it's a good idea, and I'd like to add your project there. Can you help me understand in what ways this project is unique, what does it focus on/optimize for, and what would be a good description?
Thanks!