package request import ( "bytes" "testing" ) func TestClient_execute(t *testing.T) { c := New() buf := []byte("Hello") c.Post("https://ip.nspix.com/geo"). SetBody(bytes.NewReader(buf)). Do() }