MCPcopy
hub / github.com/larksuite/cli / newApiResp

Function newApiResp

internal/client/response_test.go:25–27  ·  view source on GitHub ↗
(body []byte, headers map[string]string)

Source from the content-addressed store, hash-verified

23)
24
25func newApiResp(body []byte, headers map[string]string) *larkcore.ApiResp {
26 return newApiRespWithStatus(200, body, headers)
27}
28
29func newApiRespWithStatus(status int, body []byte, headers map[string]string) *larkcore.ApiResp {
30 h := http.Header{}

Calls 1

newApiRespWithStatusFunction · 0.85

Tested by

no test coverage detected