package
0.0.0-20240711123734-c091ff3b1106
Repository: https://github.com/hgsgtk/go-snippets.git
Documentation: pkg.go.dev
# README
handle-s3
Getting Started
-
access to aws.amazon.com and get iam api access keys (access_key, secret_access_key)
-
install dependency packages
$ gom install
- set your s3 configuration in .env
cp .env.sample .env
vi .env
- run
go run app.go
Feature
- upload file to s3
- other
- As a package manager, I use gom.
Todo
- download file from s3
- get lists of bucket or objects
Ref
Relevant to S3
- Using Sessions to Configure Service Clients in the AWS SDK for Go
- NoCredentialProviders: no valid providers in chain. Deprecated.
- s3manager/Downloader