Example of a simple application in Golang, which shows how to use S3 from localstack.
docker-compose.yaml localstack - defined localstack
service for s3, exposed on port 4566
. localstack-data
volume used to persist data after rebuild.
docker-compose.yaml wait-for-localstack - service used to check if the localstack service is ready.
test - script to run tests. The script creates a bucket in s3 in a line number 7.
s3.go - code responsible for uploading files one s3.