Versions in this module Expand all Collapse all v0 v0.2.0 Aug 30, 2026 Changes in this version + const CodeError + const CodeOK + type DefaultEnvelope struct + SuccessMsg string + func (DefaultEnvelope) Failure(status int, code int, msg string) any + func (e DefaultEnvelope) Success(status int, data any) any + type Envelope interface + Failure func(status int, code int, msg string) any + Success func(status int, data any) any + type Paged struct + Items []T + Total int64 + type RawEnvelope struct + func (RawEnvelope) Failure(status int, code int, msg string) any + func (RawEnvelope) Success(status int, data any) any + type Response struct + Code int + Data T + Msg string Other modules containing this package github.com/EdSan845D/oapi-hinge/contract