I have this piece :
~~~
package main
import "fmt"
func main() {
var x string = "Hello World"
fmt.Println(x)
}
~~~
but when I do go run main,go I see this error :
main.go:1:1: expected 'package', found 'EOF'
which surprise me because line 1 starts with a package
Roelof
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.