Support Go 1.6 changes to reflect
albrow opened this issue · comments
Alex Browne commented
See https://tip.golang.org/doc/go1.6
Updating: Typically, code that previously walked over structs and used
f.PkgPath != ""to exclude inaccessible fields should now use
f.PkgPath != "" && !f.Anonymous