package main

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

func init() {
  fmt.Printf("Init called")
}


func Handler(request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) {
  return events.APIGatewayProxyResponse{Body: "Hi! I'm root!", StatusCode: 200}, nil
}

func main() {
  lambda.Start(Handler)
}

