Commits

Miki Tebeka committed d3142d9

New http.Get

Comments (0)

Files changed (1)

 
 func main() {
 	url := "http://golang.org/pkg/"
-	response, _, _ := http.Get(url)
+	response, _ := http.Get(url)
 	body, _ := ioutil.ReadAll(response.Body)
 
 	r, _ := regexp.Compile("a href=\"[a-z][^>]*>")