Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 278 Bytes

README_CodeBuild.md

File metadata and controls

15 lines (12 loc) · 278 Bytes

Sample Function

The following is a sample Lambda function that receives an Amazon CodeBuild event and writes it to standard output.

import (
    "fmt"
    "github.com/aws/aws-lambda-go/events"
)

func handleRequest(evt events.CodeBuildEvent) {
	fmt.Println(evt)
}