One of the previous blog posts (Can I run existing Go applications on AWS Lambda?) introduced you to the AWS Lambda Go API Proxy, and how it's framework/package specific adapter implementations (for gorilla/mux
, echo
and net/http
) allow you to run existing Go applications as AWS Lambda functions fronted by Amazon API Gateway.
The AWS Lambda Go API Proxy also supports the Gin, which one of the most popular Go web frameworks! This blog post demonstrates how take an existing URL shortener service written using the Gin
framework, and run it as a serverless AWS Lambda function. Instead of using AWS SAM, we will change things up a bit and use the AWS CDK to deploy the solution. AWS CDK is a framework that lets you define your cloud infrastructure as code in one of its supported programming and provision it through AWS CloudFormation.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.