websocket
websocket copied to clipboard
Replaced the deprecated ioutil package
Replaced usage of deprecated ioutil functions with their correct ones.
More info why ioutil got deprecated: https://go.dev/doc/go1.16
I made a mistake and not looking the go.mod version: the project should be at least go version 1.16 to use the new functions. Any plans to bump the version to even 1.18?
Any plans to bump the version to even 1.18?
The package should work with the supported versions of Go. You can bump the go.mod file up to 1.16.
@enkeyz just a follow-up — are you still working on the PR?
Superseded by https://github.com/gorilla/websocket/pull/840