Code cleaning

This commit is contained in:
Riccardo
2022-07-25 19:05:37 +02:00
parent b7eb930bd8
commit 9f5d892e5b
4 changed files with 36 additions and 19 deletions

View File

@@ -2,3 +2,11 @@
Command to build the executable for manual upload to Lambda:
GOOS=linux CGO_ENABLED=0 go build -o main .
Required variables:
- FETCH_SIZE: how many news to fetch
- BATCH_SIZE: batch size for DB write
- REGION: AWS region
- SENDER: sender email address
- RECIPIENT: recipient email address