
kevinburke/go-bindata
The Go package kevinburke/go-bindata can convert any file into manageable Go source code, useful for embedding binary data into a Go program. It offers a command line tool with options for customization, such as ignoring files or specifying the output file name. The package contains some improvements over the original version, including atomic writes, better encoding of files with Unicode format characters, and SHA256 hashes for cache-busting and corruption detection. Homebrew can install the binary for macOS users, or the source can be built and installed for any platform. The simplest way to invoke the package is with a single input directory, generating a bindata.go file in the working directory. Ellipsis can be used for recursive inclusion of sub-directories. The Asset function allows quick access to the asset based on its name.
don't have tea/gui yet? download here
Copy the tea one-liner above into your terminal to install kevinburke/go-bindata. tea will interpret the documentation and take care of any dependencies.