Versions in this module Expand all Collapse all v1 v1.0.0 Dec 19, 2025 Changes in this version + func GetStatusCode(err error) int + type CodeErr struct + Code int + Err error + Message string + func NewCodeErr(statusCode int, err error, message string) CodeErr + func (c CodeErr) Error() string + func (c CodeErr) Headers() http.Header + func (c CodeErr) MarshalJSON() ([]byte, error) + func (c CodeErr) StatusCode() int + type Response struct + Message string + Status bool Other modules containing this package github.com/useinsider/go-pkg