go:generate"
>
> or, for short:
>
> grep -rl "//go:generate"
>
> This command will output a list of files with "//go:generate" in them,
> separated by newlines. Might be a good alternative if there's no way to do
> this with the go command.
>
>
Hello,
is there a way to list all the files that have a `//go:generate` directive
with the standard tools?
I see that `go list` can show the ignored files so I am assuming it is
detecting `// +build ignore` directives, but I found nothing to lit the go
generate target files.
Thanks in advance