{"repo":"kevinburke/go-bindata","free":true,"listed":false,"github":"https://github.com/kevinburke/go-bindata","clone":"git clone https://github.com/kevinburke/go-bindata.git","description":"A small utility which generates Go code from any file. Useful for embedding binary data in a Go program.","language":"Go","stars":346,"topics":["golang","static-files"],"license":null,"category":"dev-tools","readme_excerpt":"bindata This fork is maintained by Kevin Burke, and is the version trusted by Homebrew. Changes made include: - Atomic writes; generated file cannot be read while partially complete. - Better encoding of files that contain characters in the Unicode format range. - Generated file reports file sizes. - Generated code is run through go fmt. - SHA256 hashes are computed for all files and stored in the binary. You can use this to detect in-memory corruption and to provide easy cache-busting mechanisms. - Added AssetString and MustAssetString functions. - ByName is not public. - Some errors in file writes were unchecked, but are now checked. - File modes are stored in octal (0644) instead of nonsensical decimal (420) This package converts any file into manageable Go source code. Useful for embedding binary data into a go program. The file data is optionally gzip compressed before being converted to a raw byte slice. It comes with a command line tool in the go-bindata subdirectory. This tool offers a set of command line options, used to customize the output being generated. Installation On Macs, you can install the binary using Homebrew: You can also download a binary from the [releases page][releases]. Switch in your GOOS for the word \"linux\" below, and the latest version for the version listed below: Alternatively, if you have a working Go installation, you can build the source and install the executable into $GOPATH/bin or $GOBIN : [releases]: https://github.com/kevinburke/go-bin","default_branch":null,"files":null,"tree":[],"storefront":"/r/kevinburke","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kevinburke/go-bindata/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}