Closed nakamasato closed 3 months ago
Deprecated: 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.
Ref: https://pkg.go.dev/io/ioutil
io/ioutil
io
io.ReadAll
io.NopCloser
os
os.CreateTemp
why
Ref: https://pkg.go.dev/io/ioutil
what
io/ioutil
->io
io.ReadAll
io.NopCloser
io/ioutil
->os
os.CreateTemp