Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/brave-intl/bat-go to v1 #150

Merged
merged 2 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"io/ioutil"
"net/http"

"github.com/brave-intl/bat-go/middleware"
"github.com/brave-intl/bat-go/utils/closers"
"github.com/brave-intl/bat-go/libs/closers"
"github.com/brave-intl/bat-go/libs/middleware"
"github.com/brave/go-sync/cache"
"github.com/brave/go-sync/command"
syncContext "github.com/brave/go-sync/context"
Expand Down Expand Up @@ -51,7 +51,7 @@ func Command(cache *cache.Cache, db datastore.Datastore) http.HandlerFunc {
http.Error(w, "Create gzip reader failed", http.StatusInternalServerError)
return
}
defer closers.Panic(gr)
defer closers.Panic(ctx, gr)
reader = gr
}

Expand Down
8 changes: 5 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.18

require (
github.com/aws/aws-sdk-go v1.45.8
github.com/brave-intl/bat-go v0.5.1
github.com/brave-intl/bat-go/libs v0.0.0-20230911092351-1d5d359ef563
github.com/getsentry/sentry-go v0.24.0
github.com/go-chi/chi/v5 v5.0.10
github.com/prometheus/client_golang v1.16.0
Expand All @@ -16,7 +16,7 @@ require (
)

require (
github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496 // indirect
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -26,17 +26,19 @@ require (
github.com/gomodule/redigo v2.0.0+incompatible // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.42.0 // indirect
github.com/prometheus/procfs v0.10.1 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rs/xid v1.5.0 // indirect
github.com/shengdoushi/base58 v1.0.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/throttled/throttled v2.2.4+incompatible // indirect
github.com/throttled/throttled v2.2.5+incompatible // indirect
golang.org/x/crypto v0.7.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.8.0 // indirect
Expand Down
Loading