Merge pull request 'fix: remove error status from json' (#22) from fix/json-err-status into 0.3.0
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

Reviewed-on: #22
This commit is contained in:
Adrien Marquès 2021-05-18 09:10:53 +00:00
commit 976b13bd38
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ type Err struct {
// error small description // error small description
Reason string `json:"reason"` Reason string `json:"reason"`
// associated HTTP status // associated HTTP status
Status int Status int `json:"-"`
} }
func (e Err) Error() string { func (e Err) Error() string {