Closed johnmanjiro13 closed 2 years ago
As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code.
So replacing all usage of ioutil pkg with os (os.CreateTemp).
Besides, removing openTruncate function that have not called.
openTruncate
Nice job! Thank you!
As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code.
So replacing all usage of ioutil pkg with os (os.CreateTemp).
Besides, removing
openTruncate
function that have not called.