-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from ThreeDotsLabs/release
v1.0 preparations
- Loading branch information
Showing
25 changed files
with
2,290 additions
and
1,195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Development instructions | ||
|
||
## Unit Tests | ||
|
||
You can run the unit tests by simply running the command: `go test -cover -race ./...` | ||
|
||
## Development and Testing | ||
|
||
To try the in test mode (using [localstack](https://hub.docker.com/r/localstack/localstack)) | ||
- start docker using: `docker-compose up -d` | ||
|
||
Now you can run the application: `go run cmd/main.go` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
version: '3' | ||
services: | ||
goaws: | ||
image: pafortin/goaws:latest | ||
localstack: | ||
container_name: localstack | ||
image: localstack/localstack:latest | ||
environment: | ||
- SERVICES=sqs,sns | ||
- AWS_DEFAULT_REGION=us-east-1 | ||
- EDGE_PORT=4566 | ||
ports: | ||
- 4100:4100 | ||
- "4566-4597:4566-4597" | ||
healthcheck: | ||
test: awslocal sqs list-queues && awslocal sns list-topics | ||
interval: 5s | ||
timeout: 5s | ||
retries: 5 | ||
start_period: 30s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,38 @@ | ||
module github.com/ThreeDotsLabs/watermill-amazonsqs | ||
|
||
go 1.12 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/ThreeDotsLabs/watermill v1.2.0 | ||
github.com/aws/aws-sdk-go-v2 v1.24.1 | ||
github.com/aws/aws-sdk-go-v2/config v1.26.6 | ||
github.com/aws/aws-sdk-go-v2/credentials v1.16.16 | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.3 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sns v1.26.7 | ||
github.com/aws/aws-sdk-go-v2/service/sqs v1.29.7 | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.18.7 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.7 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 // indirect | ||
github.com/aws/smithy-go v1.19.0 | ||
github.com/hashicorp/go-multierror v1.1.1 | ||
github.com/stretchr/testify v1.8.1 | ||
github.com/aws/aws-sdk-go-v2 v1.30.4 | ||
github.com/aws/aws-sdk-go-v2/config v1.27.28 | ||
github.com/aws/aws-sdk-go-v2/credentials v1.17.28 | ||
github.com/aws/aws-sdk-go-v2/service/sns v1.31.4 | ||
github.com/aws/aws-sdk-go-v2/service/sqs v1.34.4 | ||
github.com/aws/smithy-go v1.20.4 | ||
github.com/stretchr/testify v1.8.4 | ||
) | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.12 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.16 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.16 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.18 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.22.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.30.4 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/kr/text v0.2.0 // indirect | ||
github.com/lithammer/shortuuid/v3 v3.0.7 // indirect | ||
github.com/oklog/ulid v1.3.1 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/rogpeppe/go-internal v1.9.0 // indirect | ||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.