package main import ( \"fmt\" \"net/http\" ) func Extract(url string) ([]string, error) { http.Get(url) var links []string return links, nil }
Importing the net package starts background polling Goroutines that effectively disable the deadlock detector.
You can see the discussion for a similar issue here: https://github.com/golang/go/issues/12734