April 15, 2015

golang combine static data (css/js/images/) with binary file

https://github.com/tiebingzhang/statik (zip the contents and compiled it into go source code, very small code base, this is a github fork with the slash fix)

https://github.com/jteeuwen/go-bindata

https://github.com/GeertJohan/go.rice (can either compile zip into go source, or append the zip to existing go EXE, more flexible but code base is a little larger)

No comments:

Post a Comment