Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 667 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 667 Bytes

bindata

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

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