Skip to content

Commit

Permalink
Revendor with go 1.17
Browse files Browse the repository at this point in the history
Most importantly, update xxhash for cespare/xxhash#57
to fix a build issue with 1.17: golang/go#48468
  • Loading branch information
yselkowitz committed Nov 10, 2021
1 parent 6df7f3d commit 60fe459
Show file tree
Hide file tree
Showing 43 changed files with 147 additions and 854 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15'
go-version: '1.17'
- name: tidy
run: go mod tidy
- name: golangci-lint
Expand Down
37 changes: 34 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,51 @@
module github.com/redhat-cne/cloud-event-proxy

go 1.15
go 1.17

require (
github.com/cloudevents/sdk-go/v2 v2.5.0
github.com/fsnotify/fsnotify v1.4.9
github.com/golang/protobuf v1.5.2 // indirect
github.com/prometheus/client_golang v1.11.0
github.com/redhat-cne/rest-api v0.1.1-0.20210903140629-30bab22b44d5
github.com/redhat-cne/sdk-go v0.1.1-0.20210927021319-526cc32c66ed
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.7.0
github.com/valyala/fasthttp v1.29.0
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985
)

require (
github.com/Azure/go-amqp v0.13.13 // indirect
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/andybalholm/brotli v1.0.2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/cloudevents/sdk-go/protocol/amqp/v2 v2.5.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/json-iterator/go v1.1.11 // indirect
github.com/klauspost/compress v1.13.4 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.26.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
go.uber.org/atomic v1.5.0 // indirect
go.uber.org/multierr v1.3.0 // indirect
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee // indirect
go.uber.org/zap v1.13.0 // indirect
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
golang.org/x/mod v0.4.2 // indirect
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e // indirect
golang.org/x/tools v0.1.5 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
honnef.co/go/tools v0.0.1-2019.2.3 // indirect
)
5 changes: 2 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ github.com/Azure/go-autorest/autorest/adal v0.9.13 h1:Mp5hbtOePIzM8pJVRa3YLrWWmZ
github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M=
github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw=
github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74=
github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk=
github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k=
github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk=
github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE=
Expand All @@ -35,8 +34,9 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE=
github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/cloudevents/sdk-go/protocol/amqp/v2 v2.5.0 h1:8KA672U9JK1TiHBOC2LYDQqeDByOMlsek/Pz4XI62aY=
github.com/cloudevents/sdk-go/protocol/amqp/v2 v2.5.0/go.mod h1:3D4Ins/HbJDMkn4ZJSR9IRT5+jdPmO7FDZwXKrRCBks=
github.com/cloudevents/sdk-go/v2 v2.5.0 h1:Ts6aLHbBUJfcNcZ4ouAfJ4+Np7SE1Yf2w4ADKRCd7Fo=
Expand Down Expand Up @@ -145,7 +145,6 @@ github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3x
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
github.com/redhat-cne/rest-api v0.1.1-0.20210903140629-30bab22b44d5 h1:RnGRD4FcelavVjyLX4o9wAYLjbmeIRedui9QFodNPjk=
github.com/redhat-cne/rest-api v0.1.1-0.20210903140629-30bab22b44d5/go.mod h1:6J4nfhAebvhSjRKXNdepF6q9w3MM5WBfGPXwoO3VF8E=
github.com/redhat-cne/sdk-go v0.1.1-0.20210903133956-db900ea5e2cf h1:TAOMcSBOVpb0mXB+imRHohaW3bS2po9b173DzoLh+MU=
github.com/redhat-cne/sdk-go v0.1.1-0.20210903133956-db900ea5e2cf/go.mod h1:pXW8dkRq39/YFrrcYHziMc/9p8OWFIzrWLXDV2i3+lI=
github.com/redhat-cne/sdk-go v0.1.1-0.20210927021319-526cc32c66ed h1:soN2DkaIDe2jXRX1KXSl0FJ3IxiyChj5ly+qtZ3njMI=
github.com/redhat-cne/sdk-go v0.1.1-0.20210927021319-526cc32c66ed/go.mod h1:pXW8dkRq39/YFrrcYHziMc/9p8OWFIzrWLXDV2i3+lI=
Expand Down
15 changes: 0 additions & 15 deletions vendor/github.com/Azure/go-amqp/go.mod

This file was deleted.

55 changes: 0 additions & 55 deletions vendor/github.com/Azure/go-amqp/go.sum

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/andybalholm/brotli/go.mod

This file was deleted.

Empty file.
8 changes: 0 additions & 8 deletions vendor/github.com/cespare/xxhash/v2/.travis.yml

This file was deleted.

6 changes: 4 additions & 2 deletions vendor/github.com/cespare/xxhash/v2/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions vendor/github.com/cespare/xxhash/v2/go.mod

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion vendor/github.com/cespare/xxhash/v2/xxhash.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 31 additions & 31 deletions vendor/github.com/cespare/xxhash/v2/xxhash_amd64.s

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 60fe459

Please sign in to comment.