timbray / topfew

Finds the field values (or combinations of values) which appear most often in a stream of records.
GNU General Public License v3.0
186 stars 6 forks source link

Fix "go vet" warnings in test, and run vet as part of test target #1

Closed superfell closed 3 years ago

superfell commented 3 years ago

It will be go version dependent. I'm on 1.15.7. The thing its complaining about is string(i) which creates a character, i.e. string(65) generates 'A' not '65' See https://play.golang.org/p/my7KUfrIWQW for an example.

timbray commented 3 years ago

Cool, thanks.