Last Updated: February 25, 2016
·
312
· jeffallen

Lines per second

A background goroutine and a for loop reading lines off of stdin makes a simple "lines per second" logfile meter: http://blog.nella.org/quick-go-hack-lines-per-second/