Re: [go-nuts] Re: programmatic way to find if application go binary is built with -cover flag ?

2024-05-15 Thread
There is possibly a way to do this by parsing strings in the binary. Because when -cover is enabled, go will insert instrumentation statements into the source code, thus the resulting binary would contain these info.On May 14, 2024, at 17:19, Akash Kumar wrote:I unable to find a flag from corresp

Re: [go-nuts] Re: Code coverage but only for new lines

2024-09-17 Thread
Hi can you file an issue on the github issue thread list? We can follow up there Arkadiusz Drabczyk 于2024年9月16日周一 21:10写道: > On Fri, Sep 13, 2024 at 03:16:28AM -0700, Fulton Shaw wrote: > > Take a look at https://github.com/xhd2015/xgo#incremental-coverage > > > > Example incremental code covera