headway

December 29, 2025 ยท View on GitHub

Test GoDoc MIT licensed No Maintenance Intended

headway is a small Go library to track the progress of tasks.

It is developed for internal use, I don't intend to take pull requests.

It contains:

  • ewma: an exponential weighted moving average
  • united: formatting routines for bytes
  • state: a set of callbacks for log messages & progresses
  • probar: a CLI progress bar
  • counter: counting wrappers for io.Reader and io.Writer
  • tracker: a speed/ETA estimator for task progress