You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation says that `go test -c` should "-c Compile the test binary to
pkg.test but do not run it."
What exactly is the final name is not quite clear.
This is important for automation.
Initially I thought that "pkg" means "package name", but it seems
that go simply takes the last element of the import path.
Whatever decided is reasonable - but it should be documented.
$ grep package $GOPATH/src/github.com/elazarl/goproxy/ext/html/html.go
package goproxy_html
$ # yes, bad name, I need to change it
$ go test -c github.com/elazarl/goproxy/ext/html
$ ls *.test
html.test
The text was updated successfully, but these errors were encountered:
by elazarl:
The text was updated successfully, but these errors were encountered: