const StdBuildTag … const StdGeneratedBy … // GoBoilerplate returns the Go file header: // - an optional build tag (negative, set it to ignore generated code) // - an optional boilerplate file // - an optional "generated by" comment func GoBoilerplate(headerFile, buildTag, generatedBy string) ([]byte, error) { … } // Execute implements most of a tool's main loop. func Execute(nameSystems namer.NameSystems, defaultSystem string, getTargets func(*generator.Context) []generator.Target, buildTag string, patterns []string) error { … }