Google Cloud自定义Golang二进制位置

I have been able to set up a simple golang service to run on Google Cloud App engine using a pretty standard directory structure like so:

myapp/
    main.go
    app.yaml

However I've been reading through this article on golang project layout and one of the recommendations is to separate the binary from the application. So the proposed directory structure would look more like:

myapp/
    cmd/
        myapp-server/
            main.go
app.yaml

I was wondering if anyone knew how to get this directory structure to work with google app engine and the gcloud deploy process. I havent been able to find much documentation on what gcloud is actually doing under the hood on deploy and what the correct incantation is to get it to work with a different directory structure. gclouds 1.11 runtime looks like it might be able to support it however I just dont know how to tell it to a) build the project and b) the binary to run for the server.