Closed marcelloh closed 3 months ago
I was using this:
go build -a --toolexec "goda exec" .
But when I do this :
go build -a --toolexec "goda exec" . > output.txt
There's no output. in the file.
Is there a way to capture the output into a file, so I can analyse it better?
go build outputs to stderr, so you can use:
go build -toolexec "goda exec" . 2> output.txt
I was using this:
print stats while building a go program
But when I do this :
There's no output. in the file.
Is there a way to capture the output into a file, so I can analyse it better?