sanitize ./...

This commit is contained in:
nkanaev
2026-04-25 22:41:22 +01:00
parent cbe1f971a5
commit f01c26b2c2
8 changed files with 10 additions and 34 deletions

View File

@@ -5,7 +5,6 @@ import (
"html/template"
"io"
"io/fs"
"io/ioutil"
"log"
"os"
)
@@ -37,7 +36,7 @@ func Template(path string) *template.Template {
}
defer svgfile.Close()
content, err := ioutil.ReadAll(svgfile)
content, err := io.ReadAll(svgfile)
// should never happen
if err != nil {
log.Fatal(err)