Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kooksee committed Oct 31, 2023
1 parent de33cde commit 634b760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendoc/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

func getTag(tags *structtag.Tags, key string, fn func(tag *structtag.Tag)) {
var tag, err = tags.Get(key)
if err == nil {
if err == nil && tag.Key != "" {
fn(tag)
}
}
Expand Down

0 comments on commit 634b760

Please sign in to comment.