influxdb/influxdb — pull request #521 by richthegeek (2014-05-08 15:35:43+00:00)
Title: Alter MODE to work on all datatypes and return multiple values

This alteration allows MODE to be used to get, for example, the "10 most common strings" in a dataset.

I've never written in Go before, so if I've made some silly choices let me know!

I assume it needs some tests attached, although I'm not sure how to write these.