https://github.com/f1shl3gs/bindata
convert any file into manageable Go source code for http service
https://github.com/f1shl3gs/bindata
bindata golang http static
Last synced: 3 months ago
JSON representation
convert any file into manageable Go source code for http service
- Host: GitHub
- URL: https://github.com/f1shl3gs/bindata
- Owner: f1shl3gs
- License: mit
- Archived: true
- Created: 2019-09-14T13:38:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T07:54:07.000Z (over 3 years ago)
- Last Synced: 2025-10-01T05:30:02.767Z (6 months ago)
- Topics: bindata, golang, http, static
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bindata
**NOTE: [embed](https://golang.org/pkg/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
## Usage
```
bindata gen -i /path/to/your/assets -i /path/to/your/another/assets -p yourPackageName -o /path/to/your/dist_gen.go
```
## Docker
docker image is available `docker pull f1shl3gs/bindata:latest`
## Features
- 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`