Merge pull request #404 from 44px/patch-1

Fix FieldError doc
pull/406/head v9.21.1
Dean Karn 6 years ago committed by GitHub
commit f8af4b15db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      errors.go

@ -122,7 +122,7 @@ type FieldError interface {
// fields actual name. // fields actual name.
// //
// eq. JSON name "fname" // eq. JSON name "fname"
// see ActualField for comparison // see StructField for comparison
Field() string Field() string
// returns the fields actual name from the struct, when able to determine. // returns the fields actual name from the struct, when able to determine.

Loading…
Cancel
Save