Original post

For more context: I’ll be giving a talk at the virtual GoWest and Golang Live 2020 (Moscow) in the coming weeks. The idea is to take a look at how we can structure our code for serverless deployments to both make the code as deployment agnostic as possible (because let’s face it, writing a handler with the signature func handler(ctx context.Context, req *events.APIGatewayProxyRequest) (*events.APIGatewayProxyResponse, error) doesn’t feel as idiomatic as func handler(w http.ResponseWriter, r *http.Request))

Hopefully the talks will be made public somewhat shortly after I give them, but in the meantime, I thought others might get some use of the examples. Criticism welcome.