Skip to content

A better real-world starter template for writing AWS Serverless Application Model (AWS SAM) applications in Go.

License

Notifications You must be signed in to change notification settings

rts-rob/aws-sam-better-golang

Repository files navigation

AWS SAM CLI better application templates for Go

This repository contains a better "Hello, world!" template for AWS SAM CLI applications that use the Go runtime. This template includes the necessary setup for dependency injection to support mocks for testing.

How to use this template

  1. Install the AWS SAM CLI
  2. From a terminal, run sam init
  3. Select option 2 - Custom Template Location
  4. Enter gh:rts-rob/aws-sam-better-golang
  5. Provide a project name, e.g., hello-world
  6. Change into the created directory
  7. Build with sam build
  8. Deploy with sam deploy --guided

Now you have a sample application with Amazon API Gateway, Amazon DynamoDB, and AWS Lambda deployed and running in the region you specified.

Contributing

Issue reports and pull requests to help improve these application templates are always welcome. Please see CONTRIBUTING.md.

License

This project is licensed under the MIT License.

About

A better real-world starter template for writing AWS Serverless Application Model (AWS SAM) applications in Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published