go-bindata

embed data in a Go program

Install

All systems
curl cmd.cat/go-bindata.sh
Debian Debian
apt-get install go-bindata
Ubuntu
apt-get install go-bindata
Arch Arch Linux
pacman -S go-bindata
image/svg+xml Kali Linux
apt-get install go-bindata
Fedora
dnf install go-bindata
Windows (WSL2)
sudo apt-get update sudo apt-get install go-bindata
OS X
brew install go-bindata
Raspbian
apt-get install go-bindata

go-bindata

embed data in a Go program

This tool converts any file into manageable Go source code. It is useful for embedding binary data into a Go program. The file data is optionally gzip compressed before being converted to a raw byte slice. This package provides the standalone utility `go-bindata`.