At this stage there are no plans to migrate to v2 of the AWS Go SDK or continue to maintain this package.
- Mock interactions with AWS services
- Make unit testing quicker and easier
package mock_test
import (
"github.com/gofor-little/aws-sdk-mock"
)
func TestMockExample(t *testing.T) {
client := mock.S3client{}
output, err := client.GetObjectWithContext(context.Background(), &s3.GetObjectInput{})
if err != nil {
t.Fatal(err)
}
// Check output is correct...
}