mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
20 lines
278 B
Go
20 lines
278 B
Go
package main
|
|
|
|
import (
|
|
"bytes"
|
|
"context"
|
|
"encoding/json"
|
|
|
|
"github.com/aws/aws-lambda-go/lambda"
|
|
)
|
|
|
|
|
|
// Handler is our lambda handler invoked by the `lambda.Start` function call
|
|
func Handler(ctx context.Context) (Response, error) {
|
|
|
|
}
|
|
|
|
func main() {
|
|
lambda.Start(Handler)
|
|
}
|