https://github.com/lestrrat-go/packasset
Lightweight resource embedding utility for Go
https://github.com/lestrrat-go/packasset
Last synced: 12 days ago
JSON representation
Lightweight resource embedding utility for Go
- Host: GitHub
- URL: https://github.com/lestrrat-go/packasset
- Owner: lestrrat-go
- License: mit
- Created: 2017-05-23T00:09:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-30T00:37:59.000Z (about 6 years ago)
- Last Synced: 2025-02-26T11:14:33.806Z (4 months ago)
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# packasset
[](https://travis-ci.org/lestrrat-go/packasset)
[](https://godoc.org/github.com/lestrrat-go/packasset)# DESCRIPTION
* the old [go-bindata](https://github.com/jteeuwen/go-bindata) is no longer maintained.
* It and has been forked [several](https://github.com/lestrrat-go/bindata) [times](https://github.com/tmthrgd/go-bindata).
* I would love to migrate to the new [go-bindata](https://github.com/tmthrgd/go-bindata), but it does not support the CLI interface.
* But I LIKE the CLI interface. :(So here it is.
* Pack static file assets into a byte array.
* byte array contents are compressedTODO
* Store file metadata
# Usage (CLI)
```
$ ls templates | packasset
``````
$ packasset -input file.txt
```