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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -