Sign in
go
/
website
/
3fc36b61c2f6d69a03ff6df6c5f56c5e85040011
/
.
/
_content
/
talks
/
2017
/
state-of-go
/
tools
/
govet.go
blob: f1eced146b1816ab42ee7966fa3ec99d497dd288 [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import (
"io"
"log"
"net/http"
"os"
)
func main() {
res, err := http.Get("https://golang.org")
defer res.Body.Close()
if err != nil {
log.Fatal(err)
}
io.Copy(os.Stdout, res.Body)
}