![]() |
8 年之前 | |
---|---|---|
.. | ||
README.md | 8 年之前 | |
ifaceExample.go | 8 年之前 | |
ifaceExample_test.go | 8 年之前 |
This example shows how the SDK's API interfaces can be used by your code intead of the concrete service client type directly. Using this pattern allows you to mock out your code's usage of the SDK's service client for testing.
Use the go test
tool to verify the Queue
type's GetMessages
function correctly unmarshals the SQS message responses.
go test ./