github.com/Foodji/aws-lambda-go@v1.20.2/events/README_CodeDeploy.md (about) 1 # Sample Function 2 3 The following is a sample Lambda function that receives an Amazon CodeDeploy event 4 and writes it to standard output. 5 6 ```go 7 import ( 8 "fmt" 9 "github.com/aws/aws-lambda-go/events" 10 ) 11 12 func handleRequest(evt events.CodeDeployEvent) { 13 fmt.Println(evt) 14 } 15 ```