Skip to content

maksymilian-lewicki/go-localstack-s3-example

Repository files navigation

go localstack s3 example

Actions Status Coverage Status Go Report Card

Example of a simple application in Golang, which shows how to use S3 from localstack.

localstack in docker

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.

About

Go localstack s3 example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published