We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d3e3af commit efb3a99Copy full SHA for efb3a99
sql-migrate/config.go
@@ -5,7 +5,6 @@ import (
5
"errors"
6
"flag"
7
"fmt"
8
- "io/ioutil"
9
"os"
10
"runtime/debug"
11
@@ -45,7 +44,7 @@ type Environment struct {
45
44
}
46
47
func ReadConfig() (map[string]*Environment, error) {
48
- file, err := ioutil.ReadFile(ConfigFile)
+ file, err := os.ReadFile(ConfigFile)
49
if err != nil {
50
return nil, err
51
0 commit comments