Stubbing AWS Service calls in Golang
Xebia
AUGUST 15, 2023
I used the following code to do this: package main import ( "context" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/s3" "time" "log" "os" ) type Request struct {} type Response struct {} type Lambda struct { s3Client *s3.Client PutObjectInput) (*s3.PutObjectOutput,
Let's personalize your content