Versions in this module Expand all Collapse all v0 v0.0.9 Nov 16, 2024 v0.0.8 May 8, 2024 Changes in this version + const INTERNAL_SERVER_ERROR + const SUCCESS + type BasicResponse struct + Code int + Data interface{} + Error string + Message string + func BasicBuilder(result BasicResponse) BasicResponse + func (c BasicResponse) Send(ctx echo.Context) error + type FailedResponse struct + Code int + Error string + Message string + func ErrorBuilder(err error) FailedResponse + func (x FailedResponse) Send(c echo.Context) error + type Meta struct + Meta interface{} + type ResponseFormat struct + Code int + Message string + type Success struct + Data interface{} + type SuccessResponse struct + func SuccessBuilder(response interface{}, meta ...interface{}) SuccessResponse + func (c SuccessResponse) Send(ctx echo.Context) error