- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for goodHTTPGet (0.08 sec)
-
src/cmd/vet/testdata/httpresponse/httpresponse.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package httpresponse import ( "log" "net/http" ) func goodHTTPGet() { res, err := http.Get("http://foo.com") if err != nil { log.Fatal(err) } defer res.Body.Close() } func badHTTPGet() { res, err := http.Get("http://foo.com")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 26 21:34:18 UTC 2021 - 509 bytes - Viewed (0)