Running go generate ./... can take a while in a large project, but it is not easy to know why. It doesn't print a summary of what commands it ran, and neither -x nor -v lead to intelligible output. It would be nice if -v would print additional logging of the start and end time of each command, along with the location of the directive that triggered it, in a format such as this:
internal/protocol/command/interface.go:5: go run -tags=generate generate.go [start]
...logs...
internal/protocol/command/interface.go:5: go run -tags=generate generate.go [success, 1.23s]
@matloob
Running
go generate ./...can take a while in a large project, but it is not easy to know why. It doesn't print a summary of what commands it ran, and neither -x nor -v lead to intelligible output. It would be nice if -v would print additional logging of the start and end time of each command, along with the location of the directive that triggered it, in a format such as this:@matloob