Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 299 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 299 Bytes

go get github.com/apisit/s3

import ( "github.com/apisit/s3" )

//using it accessKey := "key" secretKey := "key" keyFilename := "something.jpg" filename := "something.jpg" bucketName := "sps-photos" amazonS3 := s3.Init(accessKey, secretKey) amazonS3.Upload(keyFilename, bucketName, filename)