Skip to content

Commit

Permalink
deprectate SetData in the Field interface
Browse files Browse the repository at this point in the history
  • Loading branch information
alovak committed Feb 14, 2022
1 parent 696a644 commit 537511e
Showing 1 changed file with 1 addition and 1 deletion.
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)

// SetData links provided data parameter with the field Value
// Deprecated. Use Marshal intead.
SetData(data interface{}) error

// Unmarshal sets field Value into provided v. If v is nil or not
Expand Down

0 comments on commit 537511e

Please sign in to comment.