Files
fasthttp/client_test.go
T
Aliaksandr Valialkin d30241c539 Added Get() to http client
2015-11-11 20:00:08 +02:00

14 lines
275 B
Go

package fasthttp
import (
"testing"
)
func TODOTestClientDo(t *testing.T) {
statusCode, body, err := Get(nil, "http://google.com")
if err != nil {
t.Fatalf("unexpected error when doing http request: %s", err)
}
t.Fatalf("statusCode=%d, Body=%q", statusCode, body)
}