| 37 | } |
| 38 | |
| 39 | type s3 struct { |
| 40 | uploader *s3manager.Uploader |
| 41 | downloader *s3manager.Downloader |
| 42 | client *awss3.S3 |
| 43 | bucket string |
| 44 | } |
| 45 | |
| 46 | // NewS3 creates a new S3 client that satisfies the Storage interface |
| 47 | func NewS3(sess *session.Session, bucket string) Storage { |
nothing calls this directly
no outgoing calls
no test coverage detected