This post lacks a bit of detail. I appreciate the code is there but it if you want to know how to use go-bindata with html/template you actually have to dig through that code and read the comments. I would've preferred a more extensive write-up.
Right now, the README's of go-bindata, https://github.com/jteeuwen/go-bindata, seems more informative. It also appears that the provided code mostly reinvents https://github.com/elazarl/go-bindata-assetfs which makes it trivial to use bindata with any kind of template your service is using, assuming we're talking about a web service (which seems to be the case).
This post lacks a bit of detail. I appreciate the code is there but it if you want to know how to use go-bindata with html/template you actually have to dig through that code and read the comments. I would've preferred a more extensive write-up.
Right now, the README's of go-bindata, https://github.com/jteeuwen/go-bindata, seems more informative. It also appears that the provided code mostly reinvents https://github.com/elazarl/go-bindata-assetfs which makes it trivial to use bindata with any kind of template your service is using, assuming we're talking about a web service (which seems to be the case).
It is a bit short isn't it.