I've been upgrading my app engine site to go112. The go app (with package github.com/a/main.go
) is using a number of sub packages in a folder called api
(github.com/a/api/
) and another called server
. These sub packages use other dependencies.
When I run go vet
, go build
everything seems to be just fine.
When I deploy the app to app engine the build process fails (using Cloud Build). The output shows that a package from the api
folder cannot be found. When remove the references to that package, the build fails on another package from the server
folder.
The curious thing is that it my own code that cannot be found by the compilation on app engine
It is as if all of the sub packages are not being 'uploaded', but I cannot understand why.
I've run go mod init
and go build ./...
without any issues.