Versions in this module Expand all Collapse all v1 v1.0.0 Dec 13, 2023 Changes in this version + var CSTZone = time.FixedZone("GMT", 8 * 3600) + func Contains(strList []string, str string) bool + func ConvertTypeByJson(srcObj interface{}, destPtr interface{}) (err error) + func GetCodeRepoName(codeUrl string) string + func GetImageName(img string) string + func HandleCrash(additionalHandlers ...func(interface{})) + func LookupEnvOrInt(key string, defaultVal int) int + func LookupEnvOrString(key string, defaultVal string) string + func ParseImageName(img string, withDefault bool) (string, string, string) + func ShortUUID() string + type Response struct + Code int + Data any + Msg string + func NewResponseWithError(err error) *Response + func NewResponseWithOk(data any) *Response + func (r *Response) IsSuccess() bool + func (r *Response) Scan(value any) error + func (r Response) String() (driver.Value, error) + type WatchResponse struct + Data any + Event string + Resource any