wired@laptop ~/golang/src/golang-book/chapter2 [21:55:15]
> $ go run main.go
main.go:1:16: expected ';', found 'import'
wired@laptop ~/golang/src/golang-book/chapter2 [21:55:22]
> $ go version
go version go1.2.1 linux/amd64
wired@laptop ~/golang/src/golang-book/chapter2 [21:55:25]
> $ which go
/usr/bin/go
wired@laptop ~/golang/src/golang-book/chapter2 [21:55:30]
> $ ls -la /usr/bin/go
lrwxrwxrwx 1 root root 20 апр. 13 21:47 /usr/bin/go -> /etc/alternatives/go
package main
import "fmt"
func main() {
fmt.Println("ok")
}