Documentation ¶ Index ¶ func Print(format string, data any, tableRenderer func()) func PrintError(w io.Writer, errType string, httpStatus int, operation string, errors any, ...) func PrintJSON(w io.Writer, data any) func PrintTable(w io.Writer, headers []string, rows [][]string) type ErrorResponse Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Print ¶ func Print(format string, data any, tableRenderer func()) func PrintError ¶ func PrintError(w io.Writer, errType string, httpStatus int, operation string, errors any, rawResponse string) func PrintJSON ¶ func PrintJSON(w io.Writer, data any) func PrintTable ¶ func PrintTable(w io.Writer, headers []string, rows [][]string) Types ¶ type ErrorResponse ¶ type ErrorResponse struct { Error string `json:"error"` HTTPStatus int `json:"http_status,omitempty"` Operation string `json:"operation,omitempty"` Errors any `json:"errors,omitempty"` RawResponse string `json:"raw_response,omitempty"` } Source Files ¶ View all Source files json.gooutput.gotable.go Click to show internal directories. Click to hide internal directories.