Skip to content

Commit

Permalink
docs(validator): fix comment
Browse files Browse the repository at this point in the history
Change-Id: I7d7b23411aa116fc4cf6a1873313039874a8276b
  • Loading branch information
andeya committed Jun 11, 2019
1 parent 4bf1769 commit bef0beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (v *Validator) VM() *tagexpr.VM {
return v.vm
}

// Validate validates whether the fields of v is valid.
// Validate validates whether the fields of value is valid.
func (v *Validator) Validate(value interface{}) error {
rv, ok := value.(reflect.Value)
if !ok {
Expand Down

0 comments on commit bef0beb

Please sign in to comment.