我无法在 App Engine 上部署我的 golang 应用程序(带有echo框架)。
我有某种错误,例如:
...
Step #0: main.go:4:2: cannot find package "FBackend/router" in any of:
Step #0: /usr/local/go/src/FBackend/router (from $GOROOT)
Step #0: /workspace/_gopath/src/FBackend/router (from $GOPATH)
Finished
Step #0 ERROR
ERROR: build step 0 "..." failed: exit status 1
在项目中,我有三个这样的文件:
FBackend
...
|___router
| |____router.go
...
|
|___main.go
在本地主机上一切正常