code: func objectMetaForPackage(p *types.Package) (*types.Type, bool, error) {
  	generatingForPackage := false
  	for _, t := range p.Types {
  		if !util.MustParseClientGenTags(append(t.SecondClosestCommentLines, t.CommentLines...)).GenerateClient {
  			continue
  		}
  		generatingForPackage = true
  		for _, member := range t.Members {
  			if member.Name == "ObjectMeta" {
  				return member.Type, isInternal(member), nil
  			}
  		}
  	}
  	if generatingForPackage {
  		return nil, false, fmt.Errorf("unable to find ObjectMeta for any types in package %s", p.Path)
  	}
  	return nil, false, nil
  }
docs: // objectMetaForPackage returns the type of ObjectMeta used by package p.