I am trying to import "github.com/couchbaselabs/go-couchbase", however the LiteIDE saids:
cannot find package "github.com/couchbaselabs/go-couchbase" in any of:
/usr/lib/go/src/pkg/github.com/couchbaselabs/go-couchbase (from $GOROOT)
/home/peter/gosrc/src/test_program/src/github.com/couchbaselabs/go-couchbase(from GOPATH)
Here is my code:
import (
"encoding/json"
"fmt"
"github.com/couchbaselabs/go-couchbase"
)
So what is the possible reason? I have set the custom directory to /home/peter/gosrc/src/test_program.