When run from the console:
go run main.go
cannot find package "github.com/PuerkitoBio/goquery" in any of: /usr/lib/go/src/github.com/PuerkitoBio/goquery (from $GOROOT)
The script in the console fulfills successfully.
Carry out from under PHP:
exec('go run /var/www/mysite.EN/blog/go/main.go 2>&1', $output); print_r($output);
 => sh: 1: go: not found
Tried to put the path GOPATH, GOROOT in ~/.bashrc but to no avail. What am I doing wrong?