This commit is contained in:
holooooo
2021-05-21 16:56:52 +08:00
parent 9b418271cc
commit b0d6f3bd2f
5 changed files with 75 additions and 45 deletions

View File

@@ -55,18 +55,6 @@ func (s *slideSshowResponse) SetHttpResponse(resp *http.Response) {
s.Resp = resp
}
func (s *slideSshowResponse) SetBytes(bytes []byte) {
s.bytes = bytes
}
func (s *slideSshowResponse) Bytes() []byte {
return s.bytes
}
func (s *slideSshowResponse) String() string {
return string(s.bytes)
}
func TestClient_Get(t *testing.T) {
client, err := NewClient("test", "http://httpbin.org/")
if err != nil {