Skip to content

Commit b7135ed

Browse files
committed
Skip xxx
1 parent 692afd2 commit b7135ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docgen/docgen.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ appendix:
162162
}
163163

164164
for name, field := range conf.FieldsFromStruct(t) {
165+
// Skip all protobuf generated methods as well.
166+
if strings.HasPrefix(name, "XXX_") {
167+
continue
168+
}
165169
if isPrivate(name) {
166170
continue
167171
}

0 commit comments

Comments
 (0)