valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.91k stars 1.76k forks source link

gofmt -w -r 'interface{} -> any' . #1624

Closed alexandear closed 1 year ago

alexandear commented 1 year ago

This PR replaces interface{} with any. Because the project supports Go >= 1.20 this is a safe change.

any appears in Go 1.18.

erikdubbelboer commented 1 year ago

In theory we still support Go 1.17. I'm ok if you drop support for that in this pull request. 1.17 hasn't been supported by the official Go team for more than a year already.