[go-nuts] getting error while trying to get coverage data report

2024-04-05 Thread Akash Kumar
(base) ☁ keploy [main] ⚡ go tool cover -func=coverage/total-coverage.txt cover: package test-app-url-shortener is not in std (/usr/local/go/src/test-app-url-shortener) here, test-app-url-shortener is a binary built with -cover flag and total-coverage.txt contains: mode: set test-app-url-shorte

[go-nuts] go tool covdata SDK

2024-04-18 Thread Akash Kumar
is there a way to invoke `go tool covdata` programmatically in a go application ? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googleg

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

2024-05-13 Thread Akash Kumar
Is there a way in go to find whether a go binary is built with -cover flag ? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.

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

2024-05-13 Thread Akash Kumar
I am writing an external go program that will take the path to another go binary as argument, and checks if the binary was built with cover flag. `debug.ReadBuildInfo()` is meant for getting build info embedded in the running binary as > ReadBuildInfo returns the build information embedded in t

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

2024-05-14 Thread Akash Kumar
GS= > build CGO_CPPFLAGS= > build CGO_CXXFLAGS= > build CGO_LDFLAGS= > build GOARCH=amd64 > build GOOS=linux > build GOAMD64=v1 > > Akash Kumar a következőt írta (2024. május 13., hétfő, 18:42:30 UTC+2): > >> I am writing an external go program that w

[go-nuts] why we still need lock file ?

2024-06-25 Thread Akash Kumar
As go is using minimum version selection strategy for creating reproducible build list, so why we still need a lock file ? also is there plans to deprecate lock file in future ? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fr

[go-nuts] branch coverage in text format

2024-07-10 Thread Akash Kumar
can I get branch coverage in text format? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the

[go-nuts] go tool cover vs go tool covdata

2024-07-10 Thread Akash Kumar
what is the difference between go tool cover and go tool covdata ? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To vi