cmd/link: Support absolute import paths for main packages with -X #13676
What version of Go are you using (go version)?
What operating system and processor architecture are you using?
What did you do?
$ go get -ldflags="-X github.com/tsenart/hello.Version=v0.0.1" github.com/tsenart/hello $ hello
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered:
The context where this would be useful is when compiling many main packages with