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
Mike Young -
Angesh Singh -
Shanu -
Bhuwan chettri -
Top comments (0)