Stop using deprecated ioutil functions

This commit is contained in:
Katrina Verey
2022-08-10 16:59:18 -04:00
parent 416eed97c4
commit f6b72077c8
70 changed files with 322 additions and 362 deletions

View File

@@ -8,7 +8,6 @@ package main
import (
"bytes"
"io"
"io/ioutil"
"os"
"testing"
)
@@ -219,7 +218,7 @@ func Test(t *testing.T) {
outC <- buf.String()
}()
tmpfile, err := ioutil.TempFile("", "test-input")
tmpfile, err := os.CreateTemp("", "test-input")
if err != nil {
t.Fatal(err)
}