statik
embed static files into a Go executable
Install
- All systems
-
curl cmd.cat/statik.sh
- Debian
-
apt-get install golang-statik
- Ubuntu
-
apt-get install golang-statik
- Kali Linux
-
apt-get install golang-statik
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install golang-statik
- Raspbian
-
apt-get install golang-statik
- Dockerfile
- dockerfile.run/statik
golang-statik
embed static files into a Go executable
statik allows you to embed a directory of static files into your Go binary to be later served from an http.FileSystem.