Skip to content

Commit 2a957fc

Browse files
committed
support array type in go generate with whitelist
1 parent ff7fd8c commit 2a957fc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

github/gen-accessors.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ func (t *templateData) processAST(f *ast.File) error {
148148
t.addArrayType(x, ts.Name.String(), fieldName.String(), false)
149149
continue
150150
}
151-
continue
152151
}
153152

154153
logf("Skipping field type %T, fieldName=%v", field.Type, fieldName)

0 commit comments

Comments
 (0)