golang go get unrecognized import path -


when tried run go in golang project root path chaatzfeaturephoneserver. prompts

  go   package featurephoneserver/routers: unrecognized import path "featurephoneserver/routers" 

i rather confused it. possible cause of it? how can find out cause , fix it?

check gopath environment variable:

go expect find featurephoneserver/routers in $gopath/src (see go build)
avoid relative import paths.

if error persists, can check goroot , go installation, as in question.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -