Skip to content

Commit c2dd7f7

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

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
@@ -6,7 +6,7 @@ toolchain go1.25.5
66

77
require (
88
github.com/Khan/genqlient v0.8.1
9-
github.com/cheshir/go-mq v1.2.0
9+
github.com/cheshir/go-mq/v2 v2.0.1
1010
github.com/dgrijalva/jwt-go v3.2.0+incompatible
1111
github.com/joho/godotenv v1.5.1
1212
github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2
@@ -19,7 +19,6 @@ require (
1919
github.com/NeowayLabs/wabbit v0.0.0-20210927194032-73ad61d1620e // indirect
2020
github.com/containerd/log v0.1.0 // indirect
2121
github.com/davecgh/go-spew v1.1.1 // indirect
22-
github.com/docker/go-units v0.5.0 // indirect
2322
github.com/dustin/go-humanize v1.0.1 // indirect
2423
github.com/go-ini/ini v1.67.0 // indirect
2524
github.com/google/uuid v1.6.0 // indirect
@@ -31,7 +30,6 @@ require (
3130
github.com/minio/md5-simd v1.1.2 // indirect
3231
github.com/moby/docker-image-spec v1.3.1 // indirect
3332
github.com/moby/patternmatcher v0.6.0 // indirect
34-
github.com/moby/sys/sequential v0.5.0 // indirect
3533
github.com/moby/sys/user v0.1.0 // indirect
3634
github.com/moby/sys/userns v0.1.0 // indirect
3735
github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b // indirect
@@ -41,14 +39,12 @@ require (
4139
github.com/rabbitmq/amqp091-go v1.10.0 // indirect
4240
github.com/rogpeppe/go-internal v1.10.0 // indirect
4341
github.com/rs/xid v1.6.0 // indirect
44-
github.com/streadway/amqp v1.1.0 // indirect
4542
github.com/stretchr/objx v0.5.2 // indirect
4643
github.com/tinylib/msgp v1.3.0 // indirect
4744
github.com/vektah/gqlparser/v2 v2.5.21 // indirect
4845
golang.org/x/crypto v0.39.0 // indirect
4946
golang.org/x/sys v0.34.0 // indirect
5047
golang.org/x/text v0.26.0 // indirect
51-
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
5248
)
5349

5450
replace (
@@ -59,9 +55,7 @@ replace (
5955
require (
6056
github.com/CycloneDX/cyclonedx-go v0.9.3
6157
github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect
62-
github.com/fsouza/go-dockerclient v1.7.3 // indirect
6358
github.com/minio/minio-go/v7 v7.0.97
64-
github.com/tiago4orion/conjure v0.0.0-20150908101743-93cb30b9d218 // indirect
6559
golang.org/x/net v0.41.0 // indirect
6660
gopkg.in/yaml.v3 v3.0.1
6761
)

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
@@ -23,7 +23,7 @@ import (
2323
"github.com/minio/minio-go/v7"
2424
"github.com/minio/minio-go/v7/pkg/credentials"
2525

26-
"github.com/cheshir/go-mq"
26+
"github.com/cheshir/go-mq/v2"
2727
"github.com/matryer/try"
2828
"github.com/uselagoon/lagoon/services/insights-handler/internal/lagoonclient"
2929
"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)