(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
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
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.
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
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
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
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
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