Versions in this module Expand all Collapse all v1 v1.0.1 Oct 7, 2025 Changes in this version + func DoRequest(url string, opts ...RequestModifier) error + type Data struct + ActionsRequired []string + IssueFound []interface{} + Params []string + Reason string + type Error struct + ActionsRequired []string + Data Data + Message string + Param string + Params []string + Reason string + type RequestBody = map[string]interface + type RequestModifier = func(*RequestOptions, *http.Response) error + func WithAccessToken(accessToken string) RequestModifier + func WithAttachement() RequestModifier + func WithExpectedStatusCode(status int) RequestModifier + func WithRequestBody(body RequestBody) RequestModifier + func WithRequestBodyByte(body []byte) RequestModifier + func WithRequestBodyObject(body any) RequestModifier + func WithRequestMethod(method string) RequestModifier + type RequestOptions struct