module
Version:
v0.0.0-...-0ea60ca
Opens a new window with list of versions in this module.
Published: Aug 10, 2023
License: MIT
Opens a new window with license information.
README
¶
lamgo
... as in Lambda + Go
This is a simple AWS Lambda template for Go to write serverless functions as a single binary.
Note: Still a work in progress
It uses AWS SAM to build and deploy the Lambda function.
Technologies
Prerequisites
Usage
- Clone this repository
git clone https://github.com/richardamare/lamgo.git
- Change directory to the cloned repository
cd lamgo # or whatever you named the directory
- Configure the AWS CLI
aws configure
- Configure the AWS SAM deployment
sam deploy --guided
NOTE: Set the SAM configuration environment to dev or edit the Makefile deployment
- Deploy the Lambda function to AWS
make deploy
Run locally using:
go run cmd/api/main.go
Demo
Currently, there are just two endpoints for demonstration purposes:
License
MIT
Directories
¶
cmd
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.