Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I've had this a few times, most recently with "how do I add this data file to my binary". At least that one made it to master now, and will be in 1.16!

And before 1.16, there is statik: https://github.com/rakyll/statik. Creates an embeddable file system from files or directories. It’s awesome for packaging web front ends into binaries.



Before 1.16, there's a whole list [0], though I've personally used go-bindata the most. I've yet to try statik, though I doubt I'll ever have a reason to now!

0: https://go.googlesource.com/proposal/+/master/design/draft-e...


How does statik compare to rice, which is what I had assumed everyone was using: https://github.com/GeertJohan/go.rice




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: