const src … type data … // Generate computes the new contents of ../command_gen.go from a // static analysis of the command.Interface type. func Generate() ([]byte, error) { … } func pkgPath(t types.Type) string { … }
const src … type data … // Generate computes the new contents of ../command_gen.go from a // static analysis of the command.Interface type. func Generate() ([]byte, error) { … } func pkgPath(t types.Type) string { … }