websocket icon indicating copy to clipboard operation
websocket copied to clipboard

Replaced the deprecated ioutil package

Open enkeyz opened this issue 3 years ago • 3 comments

Replaced usage of deprecated ioutil functions with their correct ones.

More info why ioutil got deprecated: https://go.dev/doc/go1.16

enkeyz avatar Apr 27 '22 11:04 enkeyz

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?

enkeyz avatar Apr 27 '22 11:04 enkeyz

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.

garyburd avatar Jun 19 '22 19:06 garyburd

@enkeyz just a follow-up — are you still working on the PR?

amustaque97 avatar Jun 29 '22 18:06 amustaque97

Superseded by https://github.com/gorilla/websocket/pull/840

coreydaley avatar Jul 30 '23 18:07 coreydaley