motivation-quote-go

command module
v0.0.0-...-e7863e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 5 Imported by: 0

README

motivation-quote-go

MIT License

This project contains source code and supporting files for a serverless application to get a random motivation quote from famous athletes.

Development

Following the Google Styleguide

Using

  • gofmt
  • golint

Quotes

Quotes are stored in DynamoDB expecting a table with the name motivation-quote-go

Attribute Name Type
partitionKey id string
sortKey author string
additional field quote string
Example item of the DynamoDB table
id author quote
"1" "Joe Gurt" "nice to meet you"

Rquired environment variables

  • AWS_REGION - the AWS region automatically available in AWS Lambda
  • QUOTE_TABLE_NAME - the name of the DynamoDB table
  • MAX_QUOTES - the maximum number of quotes in the database

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL