Skip to content

Commit 8917928

Browse files
Update module github.com/cheshir/go-mq to v2
1 parent b82f729 commit 8917928

File tree

7 files changed

+1278
-40
lines changed

7 files changed

+1278
-40
lines changed

go.mod

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ go 1.21
44

55
require (
66
github.com/Khan/genqlient v0.6.0
7-
github.com/cheshir/go-mq v1.0.2
7+
github.com/cheshir/go-mq/v2 v2.0.1
88
github.com/dgrijalva/jwt-go v3.2.0+incompatible
99
github.com/joho/godotenv v1.5.1
1010
github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2
1111
github.com/stretchr/testify v1.8.4
1212
)
1313

1414
require (
15-
github.com/NeowayLabs/wabbit v0.0.0-20200409220312-12e68ab5b0c6 // indirect
15+
github.com/NeowayLabs/wabbit v0.0.0-20210927194032-73ad61d1620e // indirect
1616
github.com/davecgh/go-spew v1.1.1 // indirect
1717
github.com/dustin/go-humanize v1.0.1 // indirect
1818
github.com/google/uuid v1.3.0 // indirect
@@ -27,18 +27,17 @@ require (
2727
github.com/moby/sys/mount v0.3.3 // indirect
2828
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
2929
github.com/modern-go/reflect2 v1.0.2 // indirect
30-
github.com/pborman/uuid v1.2.0 // indirect
30+
github.com/pborman/uuid v1.2.1 // indirect
3131
github.com/pmezard/go-difflib v1.0.0 // indirect
32+
github.com/rabbitmq/amqp091-go v1.7.0 // indirect
3233
github.com/rogpeppe/go-internal v1.10.0 // indirect
3334
github.com/rs/xid v1.2.1 // indirect
3435
github.com/sirupsen/logrus v1.9.0 // indirect
35-
github.com/streadway/amqp v0.0.0-20200108173154-1c71cc93ed71 // indirect
3636
github.com/stretchr/objx v0.5.0 // indirect
3737
github.com/vektah/gqlparser/v2 v2.5.10 // indirect
3838
golang.org/x/crypto v0.16.0 // indirect
3939
golang.org/x/sys v0.15.0 // indirect
4040
golang.org/x/text v0.14.0 // indirect
41-
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
4241
gopkg.in/ini.v1 v1.67.0 // indirect
4342
)
4443

@@ -50,9 +49,7 @@ replace (
5049
require (
5150
github.com/CycloneDX/cyclonedx-go v0.8.0
5251
github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect
53-
github.com/fsouza/go-dockerclient v1.7.3 // indirect
5452
github.com/minio/minio-go/v7 v7.0.21
55-
github.com/tiago4orion/conjure v0.0.0-20150908101743-93cb30b9d218 // indirect
5653
golang.org/x/net v0.19.0 // indirect
5754
gopkg.in/yaml.v3 v3.0.1
5855
)

go.sum

Lines changed: 1269 additions & 28 deletions
Large diffs are not rendered by default.

internal/handler/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"github.com/minio/minio-go/v7"
2323
"github.com/minio/minio-go/v7/pkg/credentials"
2424

25-
"github.com/cheshir/go-mq"
25+
"github.com/cheshir/go-mq/v2"
2626
"github.com/matryer/try"
2727
"github.com/uselagoon/lagoon/services/insights-handler/internal/lagoonclient"
2828
"github.com/uselagoon/lagoon/services/insights-handler/internal/lagoonclient/jwt"

internal/handler/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"testing"
1212

1313
cdx "github.com/CycloneDX/cyclonedx-go"
14-
"github.com/cheshir/go-mq"
14+
"github.com/cheshir/go-mq/v2"
1515
"github.com/joho/godotenv"
1616
"github.com/stretchr/testify/mock"
1717
"github.com/uselagoon/lagoon/services/insights-handler/internal/lagoonclient"

internal/handler/messaging.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package handler
33
import (
44
"encoding/json"
55
"fmt"
6-
"github.com/cheshir/go-mq"
6+
"github.com/cheshir/go-mq/v2"
77
"log/slog"
88
"sort"
99
"strconv"

internal/handler/processing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"encoding/json"
66
"github.com/Khan/genqlient/graphql"
7-
"github.com/cheshir/go-mq"
7+
"github.com/cheshir/go-mq/v2"
88
"github.com/uselagoon/lagoon/services/insights-handler/internal/lagoonclient"
99
"log/slog"
1010
"net/http"

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"flag"
55
"fmt"
6-
"github.com/cheshir/go-mq"
6+
"github.com/cheshir/go-mq/v2"
77
"github.com/uselagoon/lagoon/services/insights-handler/internal/handler"
88
"log/slog"
99
"os"

0 commit comments

Comments
 (0)