NOTE: embed is introduced since Golang 1.16, so this repo is no need to exist anymore.
convert any file into manageable Go source code for http service
bindata gen -i /path/to/your/assets -i /path/to/your/another/assets -p yourPackageName -o /path/to/your/dist_gen.go
docker image is available docker pull f1shl3gs/bindata:latest
- Build Tags
- Gzip Level, decompress only happened when the asset first access
(
--gzip-best-compress
is useful when you have a lot asset or want minimal dist size) - Transform file path, eg:
--transfer your/prefix:your/new/prefix