[go-nuts] go binary cover instrumentation for test binary

2023-08-11 Thread 'Radu Berinde' via golang-nuts
Go 1.20 adds binary instrumentation for code coverage (https://go.dev/testing/coverage/#running). We have a kind of "meta test" that is passed the path of a test binary for another package and invokes it. I want to instrument this binary for coverage (where I can use GOCOVERDIR to dump the cove

Re: [go-nuts] how to control the timezone of time.Now()

2021-10-27 Thread 'Radu Berinde' via golang-nuts
Hi Ian, > The argument here is that a program would only call the UTC method if it wants to change the way that those conversions work, so it presumably cares about the wall time, not monotonic time. But in those contexts, the monotonic time wouldn't make a difference - so what is the upside of s