If the external packages can be located via your GOPATH, then `gcloud app deploy` should also be able to find the code and compile+deploy the app. You could also vendor the external packages (so they appear under a "vendor" folder in the same directory as your app's entry point and the rest of your code).
---- *Josh Humphries* jh...@bluegosling.com On Thu, Feb 1, 2018 at 6:31 AM, s2gatev <m...@s2gatev.com> wrote: > Hey there! > > I'm trying to convert an AppEngine flexible setup to standard environment. > I hit a problem with a piece of code that depends on some protobuf > definitions. > The problem is that the protobuf definitions import some external packages: > > import google_protobuf "github.com/golang/protobuf/ptypes/timestamp" > import google_protobuf1 "github.com/golang/protobuf/ptypes/any" > > I'm not sure how to package my code (and if its possible at all) in order > to deploy it on the standard environment. > If anybody has experience with such deployments and is willing to provide > an advice I'd greatly appreciate it! > > Best, > Stanislav > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.