StephenGrider/GoCasts

ioutil has been depreciated we can use os.WriteFile instead

Opened this issue · 1 comments

return ioutil.WriteFile(filename, []byte(d.toString()), 0666)

Deprecated: As of Go 1.16, this function simply calls os.WriteFile.