A lazy man's compression
go get github.com/romainmenke/simple-gzip
I needed a tool to gzip css and js files for golang web projects.
- it loops over all files in a directory
- applies gzip
I use it with //go:generate simple-gzip
and modd.
-h
: help-source
: source directory-out
: output directory-level
: compression leveltrailing args
: exclusion -> simplemust not contain
logic