Skip to content

Commit

Permalink
fix typo (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjmengze authored Apr 10, 2021
1 parent a22b51d commit 0d68a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion response.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (r *Response) WriteHeaderAndJson(status int, value interface{}, contentType
}

// WriteError writes the http status and the error string on the response. err can be nil.
// Return an error if writing was not succesful.
// Return an error if writing was not successful.
func (r *Response) WriteError(httpStatus int, err error) (writeErr error) {
r.err = err
if err == nil {
Expand Down

0 comments on commit 0d68a53

Please sign in to comment.