Skip to content

refactor: change deprecated "io/ioutil" package to recommended "io" package

am3o requested to merge am3o/snowflake:main into main

Since Go 1.16 the package "io/ioutil" is marked as deprecated, the same functionality is provided by package "io", and those implementations should be preferred in code. All methods in the package "io/ioutil" are deprecated. With the bump of the go version to 1.21 it's necessary to exchange the packages.

Edited by am3o

Merge request reports