Skip to content

Commit f1b49dd

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

File tree

7 files changed

+1267
-28
lines changed

7 files changed

+1267
-28
lines changed

go.mod

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.23
44

55
require (
66
github.com/Khan/genqlient v0.8.0
7-
github.com/cheshir/go-mq v1.2.0
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
@@ -16,7 +16,6 @@ require (
1616
github.com/NeowayLabs/wabbit v0.0.0-20210927194032-73ad61d1620e // indirect
1717
github.com/containerd/log v0.1.0 // indirect
1818
github.com/davecgh/go-spew v1.1.1 // indirect
19-
github.com/docker/go-units v0.5.0 // indirect
2019
github.com/dustin/go-humanize v1.0.1 // indirect
2120
github.com/go-ini/ini v1.67.0 // indirect
2221
github.com/goccy/go-json v0.10.4 // indirect
@@ -27,7 +26,6 @@ require (
2726
github.com/minio/md5-simd v1.1.2 // indirect
2827
github.com/moby/docker-image-spec v1.3.1 // indirect
2928
github.com/moby/patternmatcher v0.6.0 // indirect
30-
github.com/moby/sys/sequential v0.5.0 // indirect
3129
github.com/moby/sys/user v0.1.0 // indirect
3230
github.com/moby/sys/userns v0.1.0 // indirect
3331
github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b // indirect
@@ -36,13 +34,11 @@ require (
3634
github.com/rabbitmq/amqp091-go v1.10.0 // indirect
3735
github.com/rogpeppe/go-internal v1.10.0 // indirect
3836
github.com/rs/xid v1.6.0 // indirect
39-
github.com/streadway/amqp v1.1.0 // indirect
4037
github.com/stretchr/objx v0.5.2 // indirect
4138
github.com/vektah/gqlparser/v2 v2.5.21 // indirect
4239
golang.org/x/crypto v0.31.0 // indirect
4340
golang.org/x/sys v0.28.0 // indirect
4441
golang.org/x/text v0.21.0 // indirect
45-
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
4642
)
4743

4844
replace (
@@ -53,9 +49,7 @@ replace (
5349
require (
5450
github.com/CycloneDX/cyclonedx-go v0.9.2
5551
github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect
56-
github.com/fsouza/go-dockerclient v1.7.3 // indirect
5752
github.com/minio/minio-go/v7 v7.0.82
58-
github.com/tiago4orion/conjure v0.0.0-20150908101743-93cb30b9d218 // indirect
5953
golang.org/x/net v0.33.0 // indirect
6054
gopkg.in/yaml.v3 v3.0.1
6155
)

go.sum

Lines changed: 1261 additions & 16 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
@@ -6,7 +6,7 @@ import (
66
"log/slog"
77
"strconv"
88

9-
"github.com/cheshir/go-mq"
9+
"github.com/cheshir/go-mq/v2"
1010
)
1111

1212
// Messaging is used for the config and client information for the messaging queue, including processing the queue itself.

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)