mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
14 lines
275 B
Go
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)
|
|
}
|