diff --git a/go.mod b/go.mod index dd7dcaf..d88d702 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module git.sr.ht/~sircmpwn/kineto -go 1.15 +go 1.16 require ( git.sr.ht/~adnano/go-gemini v0.1.17 diff --git a/main.go b/main.go index 5d3b09d..283d126 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,6 @@ import ( "fmt" "html/template" "io" - "io/ioutil" "log" "mime" "net/http" @@ -575,7 +574,7 @@ func main() { bind = opt.Value case 's': external = false - cssContent, err := ioutil.ReadFile(opt.Value) + cssContent, err := os.ReadFile(opt.Value) if err == nil { css = string(cssContent) } else {