We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b27af commit 55acb0eCopy full SHA for 55acb0e
1 file changed
checker/nature/utils.go
@@ -52,8 +52,6 @@ func (s *structData) structField(c *Cache, parentEmbed *structData, name string)
52
// Lookup own fields first.
53
for ; s.ownIdx < s.numField; s.ownIdx++ {
54
field := s.rType.Field(s.ownIdx)
55
- // BUG: we should skip if !field.IsExported() here
56
-
57
if field.Anonymous && s.anonIdx < 0 {
58
// start iterating anon fields on the first instead of zero
59
s.anonIdx = s.ownIdx
0 commit comments