Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct { Ok bool `json:"ok"` Data any `json:"data,omitempty"` Error *err.ServiceError `json:"error,omitempty"` }
func New ¶
func New(ok bool, data any, e *err.ServiceError) *APIResponse
Click to show internal directories.
Click to hide internal directories.