Sorry for the horrible horrible title, first off if anybody can offer an edit for a better title after reading my question please, submit it, I'm pretty bad with my terminology at the moment.
So, simple question:
Reading through the net/http
package on how to make http.Get
requests and it says all I have to do is
resp, err := http.Get(blah)
Ok fair enough so scrolling down the list to see what parameters this Get
function took, I couldn't find it directly under the functions of the http package
So scrolling down I find a Get
method under type Client
So how come I don't have to first http.Client
then make my Get
request to that? Just a little confused. Thanks for any help.