ioutil: Remove deprecated functions where possible

This commit is contained in:
Jöran Karl
2024-05-30 21:34:11 +02:00
parent 18a81f043c
commit 6e8daa117a
12 changed files with 29 additions and 39 deletions

View File

@@ -4,7 +4,6 @@ package main
import (
"fmt"
"io/ioutil"
"os"
"regexp"
"strings"
@@ -161,6 +160,6 @@ func main() {
return
}
data, _ := ioutil.ReadFile(os.Args[1])
data, _ := os.ReadFile(os.Args[1])
fmt.Print(generateFile(parseFile(string(data), os.Args[1])))
}