icz*_*cza 12

error
fmt.Errorf()errorerrors.New()errors.errorString
type errorString struct {
    s string
}
{}
error.Error()Error error
type TemplateResponse struct {
    Message  string
    Error    error `json:"-"`
    ErrorMsg string
    Template Template
}
ErrorMsg
error
type TemplateResponse struct {
    Message  string
    ErrorMsg string
    Template Template
}
Error errorErrorMsgjson.Marshalererrorstring