1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-01 23:36:58 +00:00

Vendor update

This commit is contained in:
Dan Ramich
2020-01-28 16:12:10 -07:00
committed by Denise
parent 768222c62d
commit 8d88f163f1
271 changed files with 54578 additions and 37342 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, ",")