rice

Go package for embedding web resources into Go executables

Install

All systems
curl cmd.cat/rice.sh
Debian Debian
apt-get install golang-rice
Ubuntu
apt-get install golang-rice
image/svg+xml Kali Linux
apt-get install golang-rice
Windows (WSL2)
sudo apt-get update sudo apt-get install golang-rice
Raspbian
apt-get install golang-rice

golang-rice

Go package for embedding web resources into Go executables

go.rice is a Golang package that makes working with resources such as html, js, css, images and templates very easy. During development go.rice will load required files directly from disk. Upon deployment it is easy to add all resource files to a executable using the rice tool, without changing the source code for your package. Several methods are provided for adding resources to your binary by go.rice. This package contains the command line tools.