davidbyttow / govips

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

Replace `io/ioutil` with preferred packages #430

Closed FomalhautWeisszwerg closed 3 months ago

FomalhautWeisszwerg commented 3 months ago

Summary

Test results

Please see workflow logs.

Details

Replacing io/ioutil with preferred packages

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 with no functionality change and now using these packages are preferred.

Improves of Makefile

To avoid a conflict with a file or directory of the same name and to improve performance, Phony Targets are used.

For more convenience, make clean, make clean-cache, and make distclean commands have been added.

Thank you for reviewing :-)

coveralls commented 3 months ago

Coverage Status

coverage: 73.558%. remained the same when pulling 353ad49a7b241739b5716b3b15729f12f678a74f on FomalhautWeisszwerg:replace_ioutil_with_preferred_packages into 0a6a6fc35e09c4ddc64fa3acab6ce1943d6b0b43 on davidbyttow:master.