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
Hamza Khan -
Tech TobΓ© -
Ashley D -
Kamlesh Gupta -
Top comments (0)