package main
import . "fmt"
var foo = "not injected"
func main() {
Println(foo)
}
$ go run main.go
not injected
$ go run -ldflags "-X main.foo=injected" main.go
injected
For further actions, you may consider blocking this person and/or reporting abuse
Emma Richardson -
Sohail Jafri -
Yu Hamada -
Mike Young -
Top comments (0)