Upload files and directories to AWS S3 using golang

You can use the code below to upload files or directories to aws s3 bucket using go :

Don’t forget to install AWS SDK for Golang :