News for hackers. Stuff that matters.
Re:Avoiding Complexity with Go by Shish2k on Friday October 17, 2014 @12:27PM (#8471736)
> eg bindata: translating binary files such as JPEGs into byte arrays in Go source

I'm doing that myself in a terribly hacky way using custom shell scripts and a bit of python to print out a .go file -- but seeing it in this list makes me wonder if it is a common problem that has been solved better already - does anyone know of any tools for this? (I imagine something like "bin2src -i foo.jpg -o foo.go", with support for a variety of languages)

There are no comments on this comment yet.