example/main.go
func AmazonRequest() error {

	resp, err := http.Get("http://www.amazon.co.uk/")
	defer func(response *http.Response) {
		if response != nil && response.Body != nil {
			response.Body.Close()
		}
	}(resp)

	if err != nil || resp.StatusCode != 200 {
		return err
	}

	return nil
}
func AmazonRequest() error {

	resp, err := http.Get("http://www.amazon.co.uk/")
	defer func(response *http.Response) {
		if response != nil && response.Body != nil {
			response.Body.Close()
		}
	}(resp)

	if err != nil || resp.StatusCode != 200 {
		return err
	}

	return nil
}
// AmazonRequest is an example to benchmark a call to googles homepage