Skip to content

Commit

Permalink
Fix typo in UnmarshalFromString documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-obashitech committed May 21, 2019
1 parent 1bc9828 commit 0fd9146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func Unmarshal(data []byte, v interface{}) error {
return ConfigDefault.Unmarshal(data, v)
}

// UnmarshalFromString convenient method to read from string instead of []byte
// UnmarshalFromString is a convenient method to read from string instead of []byte
func UnmarshalFromString(str string, v interface{}) error {
return ConfigDefault.UnmarshalFromString(str, v)
}
Expand Down

0 comments on commit 0fd9146

Please sign in to comment.