/simple-gzip

Lazy man's compression

Primary LanguageGo

Simple GZIP

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.


Options

  • -h : help
  • -source : source directory
  • -out : output directory
  • -level : compression level
  • trailing args : exclusion -> simple must not contain logic

Simple