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.
coverage: 73.558%. remained the same
when pulling 353ad49a7b241739b5716b3b15729f12f678a74f on FomalhautWeisszwerg:replace_ioutil_with_preferred_packages
into 0a6a6fc35e09c4ddc64fa3acab6ce1943d6b0b43 on davidbyttow:master.
Summary
io/ioutil
with preferred packages.Test results
Please see workflow logs.
Details
Replacing
io/ioutil
with preferred packagesSince Go 1.16, the
io/ioutil
package has been marked as deprecated. The functions provided byio/ioutil
are now provided byio
oros
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
, andmake distclean
commands have been added.Thank you for reviewing :-)