summaryrefslogtreecommitdiffstats
path: root/scripts/fork_go_templates/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fork_go_templates/main.go')
-rw-r--r--scripts/fork_go_templates/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/fork_go_templates/main.go b/scripts/fork_go_templates/main.go
index c22ecd92c..bdc190a69 100644
--- a/scripts/fork_go_templates/main.go
+++ b/scripts/fork_go_templates/main.go
@@ -2,7 +2,6 @@ package main
import (
"fmt"
- "io/ioutil"
"log"
"os"
"path/filepath"
@@ -186,7 +185,7 @@ func doWithGoFiles(dir string,
return nil
}
- data, err := ioutil.ReadFile(path)
+ data, err := os.ReadFile(path)
must(err)
f, err := os.Create(path)
must(err)