Skip to content

Commit

Permalink
fix wrong spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
mfdeveloper508 committed Oct 2, 2023
1 parent a4b1be2 commit be33dce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion field/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Field interface {
// Bytes returns binary representation of the field Value
Bytes() ([]byte, error)

// Deprecated. Use Marshal intead.
// Deprecated. Use Marshal instead.
SetData(data interface{}) error

// Unmarshal sets field Value into provided v. If v is nil or not
Expand Down
2 changes: 1 addition & 1 deletion message.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewMessage(spec *MessageSpec) *Message {
}
}

// Deprecated. Use Marshal intead.
// Deprecated. Use Marshal instead.
func (m *Message) SetData(data interface{}) error {
return m.Marshal(data)
}
Expand Down

0 comments on commit be33dce

Please sign in to comment.