mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Remove calls to Go's deprecated "io/ioutil"
This commit is contained in:
1 parent
788479dd64
commit
226c476994
31 files changed
+73
-93
No files matched your search
@@ -25,7 +25,6 @@ import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"os"
|
||||
"sort"
|
||||
@@ -152,7 +151,7 @@ func main1() error {
|
||||
fmt.Fprintf(w, "// %4d entries have %2d%s probes\n", x, i, plus)
|
||||
}
|
||||
|
||||
return ioutil.WriteFile("data.go", w.Bytes(), 0644)
|
||||
return os.WriteFile("data.go", w.Bytes(), 0644)
|
||||
}
|
||||
|
||||
func build() error {
|
||||
|
||||
Reference in new issue
Block a user