Skip to content

Commit

Permalink
chore: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkgos committed Apr 26, 2024
1 parent 5697975 commit f68f21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (r *Encoding) Register(mime string, marshaler codec.Marshaler) error {
return errors.New("encoding: empty MIME type")
}
if marshaler == nil {
return errors.New("encoding: marshaller should be not")
return errors.New("encoding: marshaller should be not nil")
}
switch mime {
case MIMEQuery:
Expand Down

0 comments on commit f68f21a

Please sign in to comment.