Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapHTTPMessage ¶
Types ¶
type ErrorRespond ¶
type ServiceErrorData ¶
func WrapDataRow ¶
func WrapDataRow[T any](data *T, err error) (valueData *T, errData *ServiceErrorData)
func WrapDataRows ¶
func WrapDataRows[T any](data []*T, err error) (valueData []*T, errData *ServiceErrorData)
func WrapPrimitiveValue ¶
func WrapPrimitiveValue[T any](data T, err error) (valueData T, errData *ServiceErrorData)
type SuccessRespond ¶
type ValidationError ¶
Click to show internal directories.
Click to hide internal directories.