From 094e23edf9958e6d98a893ad5cd485f03662a062 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 27 Feb 2021 15:53:58 -0500 Subject: [PATCH] go 1.15 --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 4e10a34..e9a594b 100644 --- a/main.go +++ b/main.go @@ -4,9 +4,9 @@ import ( "bytes" "flag" "fmt" + "io/ioutil" "log" "net/http" - "os" "time" "github.com/turnage/graw/reddit" @@ -30,7 +30,7 @@ func main() { log.Fatal(err) } - whSlc, err := os.ReadFile(*webhookFile) + whSlc, err := ioutil.ReadFile(*webhookFile) if err != nil { log.Fatal(err) }