Debian Codegraph @

go/analysis/passes/modernize/testdata/src/omitzero/kube/kube.go

raw
1 package kube
2
3 type Foo struct {
4 EmptyStruct struct{} `json:",omitempty"` // nope: the comment below mentions the k-word
5 }
6
7 // +kubebuilder:validation:Optional
8 type Other struct {
9 }