refactor: remove deprecated ioutil

pull/487/head
Mike Fridman 2023-03-21 09:30:08 -04:00
parent baaec139e4
commit 8574431aad
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ import (
"bytes"
"fmt"
"io"
"io/ioutil"
"github.com/pressly/goose/v3/internal/sqlparser"
)
@ -15,7 +14,7 @@ type sqlMigration struct {
}
func parseSQLFile(r io.Reader, debug bool) (*sqlMigration, error) {
by, err := ioutil.ReadAll(r)
by, err := io.ReadAll(r)
if err != nil {
return nil, err
}