Update main.go

pull/358/head
Dean Karn 7 years ago committed by GitHub
parent 2a8a333913
commit d3984c2e0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      _examples/simple/main.go

@ -52,7 +52,7 @@ func validateStruct() {
Addresses: []*Address{address},
}
// returns nil or ValidationErrors ( map[string]*FieldError )
// returns nil or ValidationErrors ( []FieldError )
err := validate.Struct(user)
if err != nil {

Loading…
Cancel
Save