File: README.md

package info (click to toggle)
golang-github-aws-aws-sdk-go 1.49.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 312,636 kB
  • sloc: makefile: 120
file content (9 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
# Example

This example shows how the SDK's API interfaces can be used by your code instead 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.

# Usage

Use the `go test` tool to verify the `Queue` type's `GetMessages` function correctly unmarshals the SQS message responses.

`go test -tags example ifaceExample.go`