Skip to content

Commit d68e8b2

Browse files
fix(deps): update module github.com/cheshir/go-mq to v2
1 parent 161e23c commit d68e8b2

File tree

7 files changed

+1275
-44
lines changed

7 files changed

+1275
-44
lines changed

go.mod

+4-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/Khan/genqlient v0.7.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
@@ -13,11 +13,10 @@ require (
1313

1414
require (
1515
github.com/Microsoft/go-winio v0.6.1 // indirect
16-
github.com/NeowayLabs/wabbit v0.0.0-20200409220312-12e68ab5b0c6 // indirect
16+
github.com/NeowayLabs/wabbit v0.0.0-20210927194032-73ad61d1620e // indirect
1717
github.com/containerd/containerd v1.7.13 // indirect
1818
github.com/containerd/log v0.1.0 // indirect
1919
github.com/davecgh/go-spew v1.1.1 // indirect
20-
github.com/docker/go-units v0.5.0 // indirect
2120
github.com/dustin/go-humanize v1.0.1 // indirect
2221
github.com/go-ini/ini v1.67.0 // indirect
2322
github.com/goccy/go-json v0.10.3 // indirect
@@ -28,19 +27,17 @@ require (
2827
github.com/minio/md5-simd v1.1.2 // indirect
2928
github.com/moby/docker-image-spec v1.3.1 // indirect
3029
github.com/moby/patternmatcher v0.6.0 // indirect
31-
github.com/moby/sys/sequential v0.5.0 // indirect
3230
github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b // indirect
33-
github.com/pborman/uuid v1.2.0 // indirect
31+
github.com/pborman/uuid v1.2.1 // indirect
3432
github.com/pmezard/go-difflib v1.0.0 // indirect
33+
github.com/rabbitmq/amqp091-go v1.7.0 // indirect
3534
github.com/rogpeppe/go-internal v1.10.0 // indirect
3635
github.com/rs/xid v1.5.0 // indirect
37-
github.com/streadway/amqp v0.0.0-20200108173154-1c71cc93ed71 // indirect
3836
github.com/stretchr/objx v0.5.2 // indirect
3937
github.com/vektah/gqlparser/v2 v2.5.11 // indirect
4038
golang.org/x/crypto v0.24.0 // indirect
4139
golang.org/x/sys v0.21.0 // indirect
4240
golang.org/x/text v0.16.0 // indirect
43-
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
4441
)
4542

4643
replace (
@@ -51,9 +48,7 @@ replace (
5148
require (
5249
github.com/CycloneDX/cyclonedx-go v0.9.0
5350
github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect
54-
github.com/fsouza/go-dockerclient v1.7.3 // indirect
5551
github.com/minio/minio-go/v7 v7.0.75
56-
github.com/tiago4orion/conjure v0.0.0-20150908101743-93cb30b9d218 // indirect
5752
golang.org/x/net v0.26.0 // indirect
5853
gopkg.in/yaml.v3 v3.0.1
5954
)

go.sum

+1,266-30
Large diffs are not rendered by default.

internal/handler/main.go

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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)