Skip to content

Instantly share code, notes, and snippets.

@daniel-woods
Created March 10, 2019 19:10
Show Gist options
  • Save daniel-woods/d341353884c36249c4c3f4857f928898 to your computer and use it in GitHub Desktop.
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
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