Skip to content

Commit

Permalink
chore: bump go.mod (#730)
Browse files Browse the repository at this point in the history
* chore: bump go.mod

close #726
close #725

Signed-off-by: Yvonnick Esnault <[email protected]>
  • Loading branch information
yesnault authored Nov 30, 2023
1 parent 75a3d67 commit 8b80dd7
Show file tree
Hide file tree
Showing 9 changed files with 1,229 additions and 482 deletions.
1 change: 1 addition & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tasks:
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
sudo tar xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2 -C /usr/local/share/ && \
sudo ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ && \
export OPENSSL_CONF=/dev/null && \
phantomjs --version && \
make test && \
make build OS=linux ARCH=amd64 && \
Expand Down
6 changes: 3 additions & 3 deletions executors/amqp/amqp.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (e Executor) createAMQPSession(ctx context.Context) (*amqp.Conn, *amqp.Sess
return nil, nil, errors.New("creating session: addr is mandatory")
}

client, err := amqp.Dial(e.Addr, &amqp.ConnOptions{
client, err := amqp.Dial(ctx, e.Addr, &amqp.ConnOptions{
SASLType: amqp.SASLTypeAnonymous(),
})
if err != nil {
Expand Down Expand Up @@ -108,7 +108,7 @@ func (e Executor) publishMessages(ctx context.Context, session *amqp.Session) (i
}

for _, m := range e.Messages {
if err := sender.Send(ctx, amqp.NewMessage([]byte(m))); err != nil {
if err := sender.Send(ctx, amqp.NewMessage([]byte(m)), nil); err != nil {
return nil, fmt.Errorf("publishing messages: %w", err)
}
}
Expand Down Expand Up @@ -149,7 +149,7 @@ func (e Executor) consumeMessages(ctx context.Context, session *amqp.Session) (i
}

func consumeMessage(ctx context.Context, recv *amqp.Receiver) (msgString string, msgJSON interface{}, err error) {
msg, err := recv.Receive(ctx)
msg, err := recv.Receive(ctx, nil)
if err != nil {
return "", nil, fmt.Errorf("consuming message: %w", err)
}
Expand Down
2 changes: 1 addition & 1 deletion executors/kafka/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"sync"
"time"

"github.com/Shopify/sarama"
"github.com/IBM/sarama"
"github.com/mitchellh/mapstructure"
"github.com/ovh/venom"
)
Expand Down
108 changes: 59 additions & 49 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,70 +1,75 @@
module github.com/ovh/venom

go 1.20
go 1.21

require (
github.com/Azure/go-amqp v0.18.1
github.com/Shopify/sarama v1.38.1
github.com/alexbrainman/odbc v0.0.0-20211220213544-9c9a2e61c5e2
github.com/Azure/go-amqp v1.0.2
github.com/IBM/sarama v1.41.3
github.com/alexbrainman/odbc v0.0.0-20230814102256-1421b829acc9
github.com/antonfisher/nested-logrus-formatter v1.3.1
github.com/confluentinc/bincover v0.2.0
github.com/eclipse/paho.mqtt.golang v1.4.2
github.com/eclipse/paho.mqtt.golang v1.4.3
github.com/fatih/color v1.15.0
github.com/fsamin/go-dump v1.8.0
github.com/fullstorydev/grpcurl v1.8.7
github.com/fullstorydev/grpcurl v1.8.8
github.com/garyburd/redigo v1.6.4
github.com/go-sql-driver/mysql v1.7.0
github.com/go-testfixtures/testfixtures/v3 v3.8.1
github.com/go-sql-driver/mysql v1.7.1
github.com/go-testfixtures/testfixtures/v3 v3.9.0
github.com/golang/protobuf v1.5.3
github.com/google/go-github v17.0.0+incompatible
github.com/gosimple/slug v1.13.1
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf
github.com/jhump/protoreflect v1.15.1
github.com/jhump/protoreflect v1.15.3
github.com/jmoiron/sqlx v1.3.5
github.com/landoop/schema-registry v0.0.0-20190327143759-50a5701c1891
github.com/lib/pq v1.10.7
github.com/lib/pq v1.10.9
github.com/linkedin/goavro/v2 v2.12.0
github.com/mattn/go-shellwords v1.0.12
github.com/mattn/go-sqlite3 v2.0.3+incompatible
github.com/mattn/go-zglob v0.0.4
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.5.0
github.com/mndrix/tap-go v0.0.0-20171203230836-629fa407e90b
github.com/ovh/cds/sdk/interpolate v0.0.0-20230310144753-13590d1ea079
github.com/ovh/go-ovh v1.3.0
github.com/ovh/cds/sdk/interpolate v0.0.0-20231019155847-e738a974db8f
github.com/ovh/go-ovh v1.4.3
github.com/pkg/errors v0.9.1
github.com/rockbears/yaml v0.1.0
github.com/rubenv/sql-migrate v1.4.0
github.com/rockbears/yaml v0.4.0
github.com/rubenv/sql-migrate v1.5.2
github.com/sijms/go-ora v1.3.2
github.com/sirupsen/logrus v1.9.0
github.com/spf13/cast v1.5.0
github.com/spf13/cobra v1.6.1
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cast v1.5.1
github.com/spf13/cobra v1.7.0
github.com/spf13/pflag v1.0.5
github.com/streadway/amqp v1.0.0
github.com/stretchr/testify v1.8.2
github.com/streadway/amqp v1.1.0
github.com/stretchr/testify v1.8.4
github.com/yesnault/go-imap v0.0.0-20160710142244-eb9bbb66bd7b
go.mongodb.org/mongo-driver v1.11.2
golang.org/x/crypto v0.7.0
golang.org/x/exp v0.0.0-20230310171629-522b1b587ee0
golang.org/x/net v0.9.0
google.golang.org/grpc v1.56.3
go.mongodb.org/mongo-driver v1.12.1
golang.org/x/crypto v0.16.0
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
golang.org/x/net v0.19.0
google.golang.org/grpc v1.59.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
modernc.org/sqlite v1.21.0
modernc.org/sqlite v1.26.0
)

require (
github.com/ClickHouse/ch-go v0.55.0 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.9.1 // indirect
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/aokoli/goutils v1.1.1 // indirect
github.com/bufbuild/protocompile v0.4.0 // indirect
github.com/bufbuild/protocompile v0.6.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/eapache/go-resiliency v1.3.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20230111030713-bf00bc1b83b6 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/eapache/go-resiliency v1.4.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/go-faster/city v1.0.1 // indirect
github.com/go-faster/errors v0.6.1 // indirect
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/gosimple/unidecode v1.0.1 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
Expand All @@ -78,36 +83,41 @@ require (
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/kevinramage/venomWeb v0.0.0-20230501110435-20012805e8a4
github.com/klauspost/compress v1.16.0 // indirect
github.com/kevinramage/venomWeb v0.0.0-20230530195848-87f9f752bcfb
github.com/klauspost/compress v1.17.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/montanaflynn/stats v0.7.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/montanaflynn/stats v0.7.1 // indirect
github.com/mxk/go-imap v0.0.0-20150429134902-531c36c3f12d // indirect
github.com/pierrec/lz4/v4 v4.1.17 // indirect
github.com/paulmach/orb v0.9.0 // indirect
github.com/pierrec/lz4/v4 v4.1.18 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/shopspring/decimal v1.3.1 // indirect
github.com/tj/go-naturaldate v1.3.0
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
github.com/xdg-go/stringprep v1.0.4 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
golang.org/x/mod v0.9.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.7.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/tools v0.7.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/protobuf v1.30.0 // indirect
go.opentelemetry.io/otel v1.15.0 // indirect
go.opentelemetry.io/otel/trace v1.15.0 // indirect
golang.org/x/mod v0.13.0 // indirect
golang.org/x/sync v0.4.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
lukechampine.com/uint128 v1.2.0 // indirect
modernc.org/cc/v3 v3.40.0 // indirect
modernc.org/ccgo/v3 v3.16.13 // indirect
modernc.org/libc v1.22.3 // indirect
modernc.org/mathutil v1.5.0 // indirect
modernc.org/memory v1.5.0 // indirect
lukechampine.com/uint128 v1.3.0 // indirect
modernc.org/cc/v3 v3.41.0 // indirect
modernc.org/ccgo/v3 v3.16.15 // indirect
modernc.org/libc v1.24.1 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/opt v0.1.3 // indirect
modernc.org/strutil v1.1.3 // indirect
modernc.org/strutil v1.2.0 // indirect
modernc.org/token v1.1.0 // indirect
)
Loading

0 comments on commit 8b80dd7

Please sign in to comment.