Versions in this module Expand all Collapse all v1 v1.0.2 Apr 8, 2022 Changes in this version + var ErrorCode = map[string]ErrorValue + type ErrorValue struct + Code int + Log string + Msg string + type Response struct + Code int + Data interface{} + ErrMsg interface{} + func NewDefaultResponse() *Response + func NewErrorResponse(s *error.Status) *Response + func NewResponse(code int, data interface{}, err interface{}) *Response