I have tried to create one small app but I get some errors
Below I have pated error:
/home/gslab/go/pkg/mod/github.com/joho/godotenv@v1.3.0/godotenv.go:17:2: malformed module path “bufio”: missing dot in first path element
/home/gslab/go/pkg/mod/github.com/joho/godotenv@v1.3.0/godotenv.go:18:2: malformed module path “errors”: missing dot in first path element
/home/gslab/go/pkg/mod/github.com/joho/godotenv@v1.3.0/godotenv.go:19:2: malformed module path “fmt”: missing dot in first path element
/home/gslab/go/pkg/mod/github.com/joho/godotenv@v1.3.0/godotenv.go:20:2: malformed module path “io”: missing dot in first path element
/home/gslab/go/pkg/mod/github.com/joho/godotenv@v1.3.0/godotenv.go:21:2: malformed module path “os”: missing dot in first path element
/home/gslab/go/pkg/mod/github.com/joho/godotenv@v1.3.0/godotenv.go:22:2: malformed module path “os/exec”: missing dot in first path element
/home/gslab/go/pkg/mod/github.com/joho/godotenv@v1.3.0/godotenv.go:23:2: malformed module path “regexp”: missing dot in first path element
/home/gslab/go/pkg/mod/github.com/joho/godotenv@v1.3.0/godotenv.go:24:2: malformed module path “sort”: missing dot in first path element
/home/gslab/go/pkg/mod/github.com/joho/godotenv@v1.3.0/godotenv.go:25:2: malformed module path “strings”: missing dot in first path element
I am also trying to import some packages from github and it allows me to get some packages and gives following error on some in the same repository
C:\Go\src>go get github.com/couchbase/query/datastore
go: finding github.com/couchbase/query latest
bytes\buffer.go:10:2: malformed module path “errors”: missing dot in first path element
internal\fmtsort\sort.go:13:2: malformed module path “sort”: missing dot in first path element
I have sucessfully get the github. com/couchbase/query path but gives error in the next files
I still get error by using the commands
C:\Go\go-work> export GOPATH=$HOME/query
‘export’ is not recognized as an internal or external command,
operable program or batch file.
C:\Go\go-work>export GOPATH=$HOME/query
‘export’ is not recognized as an internal or external command,
operable program or batch file.
I get the following error.
C:/n1q l>go build n1ql.go github.com/andelf/go-curl
…\andelf\go-curl\easy.go:408:22: identifier “_Ctype_struct_curl_slist” may conflict with identifiers generated by cgo
I want to use only the AST for couch-base. Can I use the Parser function independently. i am trying to use the AST generator in the following link : https://github.com/couchbase/query
Can u guide me through the process