var mockType … func TestArgsFromType(t *testing.T) { … } func Test_extractKubeVersionTag(t *testing.T) { … } func customExit(exitCode int) { … } func safeExtractKubeVersionTag(tagName string, t *types.Type) (value *tagValue, major int, minor int, err error, localErr error) { … } func safeExtractTag(t *testing.T, tagName string, comments []string) (value *tagValue, err error) { … } func Test_extractTag(t *testing.T) { … } func Test_extractEnabledTypeTag(t *testing.T) { … } func Test_extractReplacementTag(t *testing.T) { … } func Test_isAPIType(t *testing.T) { … }