Skip to content

Commit 28b6964

Browse files
committed
Fix typo on README so the example compiles
1 parent 7bfad40 commit 28b6964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func validateStruct() {
116116
}
117117

118118
// returns nil or ValidationErrors ( map[string]*FieldError )
119-
err := validate.Struct(user)
119+
errs := validate.Struct(user)
120120

121121
if errs != nil {
122122

0 commit comments

Comments
 (0)