Skip to content

Commit

Permalink
[RHCLOUD-25196] Golang upgrade into 1.19 (RedHatInsights#106)
Browse files Browse the repository at this point in the history
* goland upgrade into 1.19 and sentry-go package update into v0.20.0

---------

Co-authored-by: Daniel Agbay <dagbay@redhat.com>
  • Loading branch information
petracihalova and dagbay-rh authored Apr 11, 2023
1 parent 99709c8 commit 89d7247
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 124 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.13.x
- 1.19.x

before_install:
- export GO111MODULE="on"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Manual Build: YYYY-MM-DD
# Use go-toolset as the builder image
# Once built, copys GO executable to a smaller image and runs it from there
FROM registry.redhat.io/ubi8/go-toolset as builder
FROM quay.io/projectquay/golang:1.19 as builder

WORKDIR /go/src/app

Expand Down
52 changes: 44 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,21 +1,57 @@
module github.com/RedHatInsights/entitlements-api-go

go 1.12
go 1.19

require (
github.com/766b/chi-logger v0.0.0-20180309043024-d2679d398ce4
github.com/aws/aws-sdk-go v1.38.51
github.com/getsentry/sentry-go v0.10.0
github.com/getsentry/sentry-go v0.20.0
github.com/go-chi/chi v4.0.2+incompatible
github.com/karlseguin/ccache v2.0.3+incompatible
github.com/karlseguin/expect v1.0.1 // indirect
github.com/onsi/ginkgo v1.10.3
github.com/onsi/gomega v1.7.1
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.27.1
github.com/prometheus/client_golang v1.9.0
github.com/redhatinsights/platform-go-middlewares v0.19.0
github.com/sirupsen/logrus v1.8.1
github.com/sirupsen/logrus v1.9.0
github.com/spf13/viper v1.3.2
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/BurntSushi/toml v1.2.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/karlseguin/expect v1.0.1 // indirect
github.com/magiconair/properties v1.8.0 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.15.0 // indirect
github.com/prometheus/procfs v0.2.0 // indirect
github.com/spf13/afero v1.1.2 // indirect
github.com/spf13/cast v1.3.0 // indirect
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/spf13/pflag v1.0.3 // indirect
github.com/wsxiaoys/terminal v0.0.0-20160513160801-0940f3fc43a0 // indirect
gopkg.in/karlseguin/expect.v1 v1.0.1 // indirect
gopkg.in/yaml.v2 v2.3.0
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-20190930215403-16217165b5de // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/tools v0.6.0 // indirect
google.golang.org/protobuf v1.29.1 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
honnef.co/go/tools v0.0.1-2019.2.3 // indirect
)
Loading

0 comments on commit 89d7247

Please sign in to comment.