Minor update
This commit is contained in:
parent
9171e9cc52
commit
94a3b21ffa
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ func main() {
|
|||
c := &http.Client{
|
||||
Timeout: 15 * time.Second,
|
||||
}
|
||||
request, err := http.NewRequest("GET", URL.String(), nil)
|
||||
request, err := http.NewRequest(http.MethodGet, URL.String(), nil)
|
||||
if err != nil {
|
||||
fmt.Println("Get:", err)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue