go 1.15
This commit is contained in:
parent
7f5e1e1d77
commit
094e23edf9
4
main.go
4
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)
|
||||
}
|
||||
|
|
Reference in New Issue