Update vendor file to fix #426

This commit is contained in:
Tomofumi Hayashi
2020-01-28 20:17:35 +09:00
committed by Tomofumi Hayashi
parent 5577822b36
commit eaf6ff6e20
30 changed files with 252 additions and 203 deletions

View File

@@ -341,7 +341,7 @@ func describeStruct(ctx *ctx, typ reflect2.Type) *StructDescriptor {
if ctx.onlyTaggedField && !hastag && !field.Anonymous() {
continue
}
if tag == "-" {
if tag == "-" || field.Name() == "_" {
continue
}
tagParts := strings.Split(tag, ",")