Skip to content

Commit

Permalink
updated main dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Feb 20, 2024
1 parent b2e820e commit edff526
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 98 deletions.
11 changes: 10 additions & 1 deletion coal/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,16 @@ func (r *SingleResult) Decode(i interface{}) error {
return xo.W(r.res.Decode(i))
}

// DecodeBytes will return the raw document bytes.s
// Raw will return the raw document bytes.
func (r *SingleResult) Raw() (bson.Raw, error) {
if r.err != nil {
return nil, r.err
}
raw, err := r.res.Raw()
return raw, xo.W(err)
}

// DecodeBytes will return the raw document bytes.
func (r *SingleResult) DecodeBytes() (bson.Raw, error) {
if r.err != nil {
return nil, r.err
Expand Down
62 changes: 35 additions & 27 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,63 +3,71 @@ module github.com/256dpi/fire
go 1.19

require (
dario.cat/mergo v1.0.0
github.com/256dpi/jsonapi/v2 v2.3.1
github.com/256dpi/lungo v0.3.5
github.com/256dpi/lungo v0.3.6
github.com/256dpi/oauth2/v2 v2.2.0
github.com/256dpi/serve v0.8.2
github.com/256dpi/xo v0.4.4
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef
github.com/256dpi/xo v0.4.5
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/gorilla/websocket v1.4.2
github.com/imdario/mergo v0.3.16
github.com/minio/minio-go/v7 v7.0.56
github.com/gorilla/websocket v1.5.1
github.com/minio/minio-go/v7 v7.0.67
github.com/shopspring/decimal v1.3.1
github.com/stretchr/testify v1.8.4
github.com/tidwall/gjson v1.14.4
go.mongodb.org/mongo-driver v1.11.7
golang.org/x/crypto v0.9.0
github.com/tidwall/gjson v1.17.1
go.mongodb.org/mongo-driver v1.14.0
golang.org/x/crypto v0.19.0
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
)

require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/getsentry/sentry-go v0.21.0 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.5.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.16.5 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
github.com/minio/md5-simd v1.1.2 // indirect
github.com/minio/sha256-simd v1.0.1 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rs/cors v1.7.0 // indirect
github.com/rs/xid v1.5.0 // indirect
github.com/sirupsen/logrus v1.9.2 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/throttled/throttled/v2 v2.6.0 // indirect
github.com/tidwall/btree v1.6.0 // indirect
github.com/tidwall/btree v1.7.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.1 // indirect
github.com/xdg-go/stringprep v1.0.3 // 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-20181117223130-1be2e3e5546d // indirect
go.opentelemetry.io/otel v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/jaeger v1.16.0 // indirect
go.opentelemetry.io/otel/metric v1.16.0 // indirect
go.opentelemetry.io/otel/sdk v1.16.0 // indirect
go.opentelemetry.io/otel/trace v1.16.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
go.opentelemetry.io/otel v1.23.1 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.23.1 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.23.1 // indirect
go.opentelemetry.io/otel/metric v1.23.1 // indirect
go.opentelemetry.io/otel/sdk v1.23.1 // indirect
go.opentelemetry.io/otel/trace v1.23.1 // indirect
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect
google.golang.org/grpc v1.61.0 // indirect
google.golang.org/protobuf v1.32.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit edff526

Please sign in to comment.