Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goerp和pms/db 造成不能运行和go get #5

Closed
nwaycn opened this issue Mar 11, 2017 · 1 comment
Closed

goerp和pms/db 造成不能运行和go get #5

nwaycn opened this issue Mar 11, 2017 · 1 comment

Comments

@nwaycn
Copy link

nwaycn commented Mar 11, 2017

2017/03/11 20:05:50 [INFO] Start building...
main.go:6:2: cannot find package "goERP/init" in any of:
d:\GO\src\src\github.com\hexiaoyun128\ERP\vendor\goERP\init (vendor tree)
C:\Go\src\goERP\init (from $GOROOT)
d:\GO\src\src\goERP\init (from $GOPATH)
E:\works\NwayConference\src\goERP\init
main.go:7:2: cannot find package "goERP/models" in any of:
d:\GO\src\src\github.com\hexiaoyun128\ERP\vendor\goERP\models (vendor tree)
C:\Go\src\goERP\models (from $GOROOT)
d:\GO\src\src\goERP\models (from $GOPATH)
E:\works\NwayConference\src\goERP\models
main.go:8:2: cannot find package "goERP/routers" in any of:
d:\GO\src\src\github.com\hexiaoyun128\ERP\vendor\goERP\routers (vendor tree)
C:\Go\src\goERP\routers (from $GOROOT)
d:\GO\src\src\goERP\routers (from $GOPATH)
E:\works\NwayConference\src\goERP\routers
main.go:10:2: cannot find package "goERP/utils" in any of:
d:\GO\src\src\github.com\hexiaoyun128\ERP\vendor\goERP\utils (vendor tree)
C:\Go\src\goERP\utils (from $GOROOT)
d:\GO\src\src\goERP\utils (from $GOPATH)
E:\works\NwayConference\src\goERP\utils
2017/03/11 20:05:50 [ERRO] ============== Build failed ===================

当我尝试go get goerp时,发生以下问题
D:\Go\src\src\github.com\hexiaoyun128\ERP>go get github.com/hexiaoyun128/goERP
package pms/db: unrecognized import path "pms/db" (import path does not begin with hostname)
package pms/init: unrecognized import path "pms/init" (import path does not begin with hostname)
package pms/routers: unrecognized import path "pms/routers" (import path does not begin with hostname)

@itcloudy
Copy link
Owner

请使用erp仓库的,clone时本地文件夹名改为goERP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants