Closed jstrachan closed 1 year ago
go run
always been using only one file, not related to a new Go version. I am actually not sure if anyone runs real programs using go run, it was a shortcut to run scripts in Go, like, simple one-file scripts. The tool like c-for-go has to be built using go build
or go install
.
if I try the following on a recent go version (e.g.
go1.20.2
) I get:this PR just moves the code from
process.go
intomain.go
to fix it so thatgo run main.go
works