// NameSystems returns the name system used by the generators in this package. func NameSystems() namer.NameSystems { … } // DefaultNameSystem returns the default name system for ordering the types to be // processed by the generators in this package. func DefaultNameSystem() string { … } // GetTargets makes targets to generate. func GetTargets(context *generator.Context, args *args.Args) []generator.Target { … } // isInternal determines whether the given package // contains the internal types or not func isInternal(p *types.Package) (bool, error) { … }