Skip to content

Commit

Permalink
Update bat-go imports
Browse files Browse the repository at this point in the history
  • Loading branch information
John Halbert committed Sep 12, 2023
1 parent a1c5966 commit bad9b1b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1,683 deletions.
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 v1.0.3
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

0 comments on commit bad9b1b

Please sign in to comment.