Created
March 10, 2019 19:10
-
-
Save daniel-woods/d341353884c36249c4c3f4857f928898 to your computer and use it in GitHub Desktop.
A "Hello World" function written in Golang for demonstration using AWS Lambda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "github.com/aws/aws-lambda-go/lambda" | |
| func handleRequest () (string, error) { | |
| return "Hello from Go!", nil | |
| } | |
| func main() { | |
| lambda.Start(handleRequest) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment