segmentio / stats

Go package for abstracting stats collection
https://godoc.org/github.com/segmentio/stats
MIT License
208 stars 32 forks source link

Update go version #150

Closed patricksandquist closed 1 year ago

patricksandquist commented 1 year ago

Ran into a build error when upgrading dependencies so I'm attempting to upgrade the go version here. Includes a change to adhere to updates in https://github.com/golang/exp/blob/master/slices/slices.go:

# github.com/segmentio/stats/v4
--
  | vendor/github.com/segmentio/stats/v4/tag.go:38:35: type func(a Tag, b Tag) bool of tagIsLess does not match inferred type func(a Tag, b Tag) int for func(a E, b E) int
  | vendor/github.com/segmentio/stats/v4/tag.go:49:30: type func(a Tag, b Tag) bool of tagIsLess does not match inferred type func(a Tag, b Tag) int for func(a E, b E) int