Secure Golang Web Application with Auth0 and Deploy to AWS Lambda

I am going to integrate a regular Go web application sample provided by Auth0 to AWS lambda. Ref: Auth0 Go SDK Quickstarts: Login
However, I am confused by how I can reorganize the code provided by Auth0 to lambda-compatible function signature: e.g.
import (
github.com/aws/aws-lambda-go/lambda
github.com/aws/aws-lambda-go/events
)
lambda.Start(HandleRequest)
func HandleRequest(req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) {
…}

I noticed that in the auth0 provided Go web application code, so wonder if there is any example on how to migrate Auth0 examples to AWS lambda