Which means, that I don't have an autocomplete for those packages.
The $GOPATH is set correctly.
How can I overcome this?
Any suggestions?
Thanks,
The packages, which were download by "go get" are located here (their sources):
And the *.a files are located here:
The $GOROOT/pkg looks the next way:
And the $GOROOT/src/pkg looks the next:
So, as I understand the plugin can autocomplete only those packages which are represented in the $GOROOT/src/pkg folder?
Is that the right assumption?
So I should link my downloaded sources to the $GOROOT/src/pkg.
Like /usr/local/go/src/pkg/github.com/eaigner/hood would be linked to /Users/PavelPolyakov/IdeaProjects/src/github.com/eaigner/hood ?
Or I miss something?
Thanks in advance,
p.s. I would create a bug report when I'm sure that this is a bug, not the wrong configuration by me.
go install github.com/go-sql-driver/mysql: mkdir /usr/local/go/pkg/darwin_386/github.com: permission denied
Project dir -> /Users/PavelPolyakov/IdeaProjects/src/github.com/PavelPolyakov/martini-app-api
GO_GOROOT_PATH -> /usr/local/go
GO_BIN_PATH -> /usr/local/go/bin/go
GO_GOPATH_PATH ->
TARGET_OS -> Darwin
TARGET_ARCH -> _386
VERSION_MAJOR -> go1.2 darwin/386
VERSION_MINOR ->
Extended Go Env ->
SHELL=/bin/bash
TMPDIR=/var/folders/kd/qnznkl9j4xgdxrx1djc10fn40000gn/T/
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/PavelPolyakov/IdeaProjects//bin:/Users/PavelPolyakov/IdeaProjects/src/github.com/PavelPolyakov/martini-app-api/bin
GOROOT=/usr/local/go
GOPATH=/Users/PavelPolyakov/IdeaProjects/:/Users/PavelPolyakov/IdeaProjects/src/github.com/PavelPolyakov/martini-app-api
USER=PavelPolyakov
HOME=/Users/PavelPolyakov
LOGNAME=PavelPolyakov
Apple_PubSub_Socket_Render=/tmp/launch-AErVoW/Render
__CHECKFIX1436934=1
SSH_AUTH_SOCK=/tmp/launch-VVPQ5n/Listeners