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
Post a Comment