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

convert any file into manageable Go source code for http service

License

Notifications You must be signed in to change notification settings

f1shl3gs/bindata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

convert any file into manageable Go source code for http service

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published