Commits

Miki Tebeka committed ecef345

url

Comments (0)

Files changed (1)

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