Closed souravlayek closed 1 month ago
You are importing tusd v1, which is only compatible with AWS SDK for Go v1. But you are passing the AWS SDK for Go v2 to tusd v1, which does not work. You should upgrade to tusd v2 by using those imports:
"github.com/tus/tusd/v2/pkg/handler"
"github.com/tus/tusd/v2/pkg/s3store"
tusd v1 is also no longer supported by us.
Thanks I have updated packages and it is working
Describe the bug I am trying to implement resumable upload in my go server with s3 bucket, But while doing the setup I came to an error missing method AbortMultipartUploadWithContext. When I dig deep I found that the S3API interface type has one method missing that s3Client has.
Here is my code:
The Error I got
To Reproduce Steps to reproduce the behavior:
Expected behavior Based on the repo and source code available in repo, I think passing s3Client to s3store.New method.
Setup details Please provide following details, if applicable to your situation: