func (c *Keys) All(ctx context.Context, fn ReturnFunc) error {
return c.do(ctx, "GET", "keys", nil, func(r *http.Response) error {
return readReturn(r.Body, fn, FormatObject)
})
}
expected [ (json.Delim), received { (json.Delim), error
--- PASS: TestClient/keys (0.09s)
PASS
func (c *Keys) All(ctx context.Context, fn ReturnFunc) error {
return c.do(ctx, "GET", "keys", nil, func(r *http.Response) error {
return readReturn(r.Body, fn, FormatObject)
})
}
expected [ (json.Delim), received { (json.Delim), error
--- PASS: TestClient/keys (0.09s)
PASS