davidbyttow / govips

A lightning fast image processing and resizing library for Go
MIT License
1.23k stars 196 forks source link

[proposal] replace `ioutil` with preferred packages. #431

Closed FomalhautWeisszwerg closed 3 months ago

FomalhautWeisszwerg commented 3 months ago

Background

Since Go 1.16, the io/ioutil package has been marked as deprecated. The functions provided by io/ioutil are now provided by io or os packages and now using these packages are preferred.

According to the release policy of Go project, Go <= 1.19 are already end of life.

So it would be better to use the io and os packages instead of the io/ioutil package.

Pull Request

https://github.com/davidbyttow/govips/pull/430

Test results

Please see workflow logs

FomalhautWeisszwerg commented 3 months ago

PR #430 was merged.

Thanks!