This commit is contained in:
Michael Yang
2023-10-19 09:21:00 -07:00
parent e1c5be24e7
commit 2ce1793a1d
2 changed files with 4 additions and 4 deletions

View File

@@ -3,10 +3,10 @@ package main
import (
"bytes"
"fmt"
"net/http"
"os"
"io"
"log"
"net/http"
"os"
)
func main() {
@@ -16,7 +16,7 @@ func main() {
if err != nil {
fmt.Print(err.Error())
os.Exit(1)
}
}
responseData, err := io.ReadAll(resp.Body)
if err != nil {