Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetailResult ¶
type DetailResult struct { Status int `json:"-"` Message string `json:"message"` Detail any `json:"detail"` }
func ErrorDetail ¶
func ErrorDetail(m string, d any, c ...int) *DetailResult
func SuccessDetail ¶
func SuccessDetail(m string, d any, c ...int) *DetailResult
func (*DetailResult) Error ¶
func (r *DetailResult) Error() string
Click to show internal directories.
Click to hide internal directories.