Building Lambda Functions with Go
The following sections explain how common programming patterns and core concepts apply when authoring Lambda function code in Go.
Go Runtimes
| Name | Identifier | Operating System |
|---|---|---|
|
Go 1.x |
|
Amazon Linux |
Topics
Additionally, note that AWS Lambda provides the following:
-
github.com/aws/aws-lambda-go/lambda: The implementation of the Lambda programming model for Go. This package is used by AWS Lambda to invoke your AWS Lambda Function Handler in Go.
-
github.com/aws/aws-lambda-go/lambdacontext: Helpers for accessing execution context information from the AWS Lambda Context Object in Go.
-
github.com/aws/aws-lambda-go/events: This library provides type definitions for common event source integrations.
