Versions in this module Expand all Collapse all v0 v0.5.0 Feb 26, 2021 Changes in this version + const BusinessType + const CodeBreakUp + const SystemType + var OK = add(SystemType, uint32(codes.OK), "OK") + var Unknown = add(SystemType, uint32(codes.Unknown), "UNKNOWN") + func BusinessCode(code uint32) (spb *spbStatus) + func BusinessCodeAdd(code uint32, message string) *spbStatus + func CodeAdds(data []CodeInfo) + func ExtractCodes(e error) *spbStatus + func GovernRun() + func SystemCode(code uint32) (spb *spbStatus) + func SystemCodeAdd(code uint32, message string) *spbStatus + type CodeInfo struct + Code uint32 + CodeT uint + Message string