diff --git a/backend/webui_context/context.go b/backend/webui_context/context.go index 76923415..86fc226f 100644 --- a/backend/webui_context/context.go +++ b/backend/webui_context/context.go @@ -115,15 +115,15 @@ func WEBUI_Self() *WEBUIContext { return &webuiContext } -func decode(source interface{}, format string) ([]models.NFProfile, error) { +func decode(source any, format string) ([]models.NFProfile, error) { var target []models.NFProfile // config mapstruct stringToDateTimeHook := func( f reflect.Type, t reflect.Type, - data interface{}, - ) (interface{}, error) { + data any, + ) (any, error) { if t == reflect.TypeOf(time.Time{}) && f == reflect.TypeOf("") { return time.Parse(format, data.(string)) } diff --git a/configapi/common_mock_db.go b/configapi/common_mock_db.go index c45d6819..32f7aa63 100644 --- a/configapi/common_mock_db.go +++ b/configapi/common_mock_db.go @@ -30,7 +30,7 @@ const ( testSubscriberImsi = "imsi-208930100007487" ) -func (m *MockSession) WithTransaction(ctx context.Context, fn func(ctx context.Context) (interface{}, error), opts ...options.Lister[options.TransactionOptions]) (interface{}, error) { +func (m *MockSession) WithTransaction(ctx context.Context, fn func(ctx context.Context) (any, error), opts ...options.Lister[options.TransactionOptions]) (any, error) { return fn(ctx) } diff --git a/configapi/slice_helpers.go b/configapi/slice_helpers.go index 48fd2cbb..fc6d467e 100644 --- a/configapi/slice_helpers.go +++ b/configapi/slice_helpers.go @@ -764,8 +764,8 @@ func updateSmProvisionedData(snssai *models.Snssai, dnnMap map[string][]configmo return nil } -func buildSmProvisionedDataDocument(snssai *models.Snssai, dnnMap map[string][]configmodels.DeviceGroupsIpDomainExpandedUeDnnQos, mcc, mnc, imsi string) (map[string]interface{}, error) { - dnnConfigurations := make(map[string]interface{}, len(dnnMap)) +func buildSmProvisionedDataDocument(snssai *models.Snssai, dnnMap map[string][]configmodels.DeviceGroupsIpDomainExpandedUeDnnQos, mcc, mnc, imsi string) (map[string]any, error) { + dnnConfigurations := make(map[string]any, len(dnnMap)) for dnn, ueDnnQosList := range dnnMap { aggregatedQoS := aggregateQoS(ueDnnQosList) @@ -774,22 +774,22 @@ func buildSmProvisionedDataDocument(snssai *models.Snssai, dnnMap map[string][]c return nil, fmt.Errorf("traffic class missing for DNN %s", dnn) } - dnnConfigurations[dnn] = map[string]interface{}{ - "pduSessionTypes": map[string]interface{}{ + dnnConfigurations[dnn] = map[string]any{ + "pduSessionTypes": map[string]any{ "defaultSessionType": models.PDUSESSIONTYPE_IPV4, "allowedSessionTypes": []models.PduSessionType{models.PDUSESSIONTYPE_IPV4}, }, - "sscModes": map[string]interface{}{ + "sscModes": map[string]any{ "defaultSscMode": models.SSCMODE_SSC_MODE_1, "allowedSscModes": []models.SscMode{models.SSCMODE_SSC_MODE_2, models.SSCMODE_SSC_MODE_3}, }, - "sessionAmbr": map[string]interface{}{ + "sessionAmbr": map[string]any{ downlinkKey: ConvertToString(uint64(aggregatedQoS.DnnMbrDownlink)), uplinkKey: ConvertToString(uint64(aggregatedQoS.DnnMbrUplink)), }, - "5gQosProfile": map[string]interface{}{ + "5gQosProfile": map[string]any{ "5qi": aggregatedQoS.TrafficClass.Qci, - "arp": map[string]interface{}{ + "arp": map[string]any{ priorityLevelKey: int32(8), "preemptCap": models.PREEMPTIONCAPABILITY_NOT_PREEMPT, "preemptVuln": models.PREEMPTIONVULNERABILITY_NOT_PREEMPTABLE, @@ -799,14 +799,14 @@ func buildSmProvisionedDataDocument(snssai *models.Snssai, dnnMap map[string][]c } } - singleNssai := map[string]interface{}{ + singleNssai := map[string]any{ "sst": snssai.Sst, } if snssai.Sd != nil { singleNssai["sd"] = *snssai.Sd } - return map[string]interface{}{ + return map[string]any{ ueIdKey: "imsi-" + imsi, servingPlmnIdKey: mcc + mnc, "singlenssai": singleNssai, diff --git a/configapi/slice_operations_test.go b/configapi/slice_operations_test.go index fe44d01a..6c01231c 100644 --- a/configapi/slice_operations_test.go +++ b/configapi/slice_operations_test.go @@ -924,7 +924,7 @@ func TestBuildSmProvisionedDataDocument(t *testing.T) { t.Fatalf("unexpected ueId: %v", got) } - singleNssai, ok := doc["singlenssai"].(map[string]interface{}) + singleNssai, ok := doc["singlenssai"].(map[string]any) if !ok { t.Fatalf("singlenssai has unexpected type: %T", doc["singlenssai"]) } @@ -932,20 +932,20 @@ func TestBuildSmProvisionedDataDocument(t *testing.T) { t.Fatalf("unexpected sd: %v", singleNssai["sd"]) } - dnnConfigurations, ok := doc["dnnconfigurations"].(map[string]interface{}) + dnnConfigurations, ok := doc["dnnconfigurations"].(map[string]any) if !ok { t.Fatalf("dnnconfigurations has unexpected type: %T", doc["dnnconfigurations"]) } - internet, ok := dnnConfigurations[dnnInternet].(map[string]interface{}) + internet, ok := dnnConfigurations[dnnInternet].(map[string]any) if !ok { t.Fatalf("internet dnn config has unexpected type: %T", dnnConfigurations[dnnInternet]) } - qos, ok := internet["5gQosProfile"].(map[string]interface{}) + qos, ok := internet["5gQosProfile"].(map[string]any) if !ok { t.Fatalf("5gQosProfile has unexpected type: %T", internet["5gQosProfile"]) } - arp, ok := qos["arp"].(map[string]interface{}) + arp, ok := qos["arp"].(map[string]any) if !ok { t.Fatalf("arp has unexpected type: %T", qos["arp"]) } diff --git a/configmodels/model_slice_site_info.go b/configmodels/model_slice_site_info.go index 4c7b52fa..ff86eb0f 100644 --- a/configmodels/model_slice_site_info.go +++ b/configmodels/model_slice_site_info.go @@ -24,5 +24,5 @@ type SliceSiteInfo struct { GNodeBs []SliceSiteInfoGNodeBs `json:"gNodeBs"` // UPF which belong to this slice - Upf map[string]interface{} `json:"upf,omitempty"` + Upf map[string]any `json:"upf,omitempty"` } diff --git a/dbadapter/db_adapter.go b/dbadapter/db_adapter.go index f44c37b4..33cbe1e2 100644 --- a/dbadapter/db_adapter.go +++ b/dbadapter/db_adapter.go @@ -59,32 +59,32 @@ func (s *MongoDBSession) WithSession(ctx context.Context, fn func(context.Contex } type DBInterface interface { - RestfulAPIGetOne(collName string, filter bson.M) (map[string]interface{}, error) - RestfulAPIGetMany(collName string, filter bson.M) ([]map[string]interface{}, error) - RestfulAPIPutOneTimeout(collName string, filter bson.M, putData map[string]interface{}, timeout int32, timeField string) bool - RestfulAPIPutOne(collName string, filter bson.M, putData map[string]interface{}) (bool, error) - RestfulAPIPutOneWithContext(context context.Context, collName string, filter bson.M, putData map[string]interface{}) (bool, error) - RestfulAPIPutOneNotUpdate(collName string, filter bson.M, putData map[string]interface{}) (bool, error) - RestfulAPIPutMany(collName string, filterArray []bson.M, putDataArray []map[string]interface{}) error + RestfulAPIGetOne(collName string, filter bson.M) (map[string]any, error) + RestfulAPIGetMany(collName string, filter bson.M) ([]map[string]any, error) + RestfulAPIPutOneTimeout(collName string, filter bson.M, putData map[string]any, timeout int32, timeField string) bool + RestfulAPIPutOne(collName string, filter bson.M, putData map[string]any) (bool, error) + RestfulAPIPutOneWithContext(context context.Context, collName string, filter bson.M, putData map[string]any) (bool, error) + RestfulAPIPutOneNotUpdate(collName string, filter bson.M, putData map[string]any) (bool, error) + RestfulAPIPutMany(collName string, filterArray []bson.M, putDataArray []map[string]any) error RestfulAPIDeleteOne(collName string, filter bson.M) error RestfulAPIDeleteOneWithContext(context context.Context, collName string, filter bson.M) error RestfulAPIDeleteMany(collName string, filter bson.M) error - RestfulAPIMergePatch(collName string, filter bson.M, patchData map[string]interface{}) error + RestfulAPIMergePatch(collName string, filter bson.M, patchData map[string]any) error RestfulAPIJSONPatch(collName string, filter bson.M, patchJSON []byte) error RestfulAPIJSONPatchWithContext(context context.Context, collName string, filter bson.M, patchJSON []byte) error RestfulAPIJSONPatchExtend(collName string, filter bson.M, patchJSON []byte, dataName string) error - RestfulAPIPost(collName string, filter bson.M, postData map[string]interface{}) (bool, error) - RestfulAPIPostWithContext(context context.Context, collName string, filter bson.M, postData map[string]interface{}) (bool, error) - RestfulAPIPostMany(collName string, filter bson.M, postDataArray []interface{}) error - RestfulAPIPostManyWithContext(context context.Context, collName string, filter bson.M, postDataArray []interface{}) error + RestfulAPIPost(collName string, filter bson.M, postData map[string]any) (bool, error) + RestfulAPIPostWithContext(context context.Context, collName string, filter bson.M, postData map[string]any) (bool, error) + RestfulAPIPostMany(collName string, filter bson.M, postDataArray []any) error + RestfulAPIPostManyWithContext(context context.Context, collName string, filter bson.M, postDataArray []any) error RestfulAPICount(collName string, filter bson.M) (int64, error) - RestfulAPIPullOne(collName string, filter bson.M, putData map[string]interface{}) error - RestfulAPIPullOneWithContext(context context.Context, collName string, filter bson.M, putData map[string]interface{}) error + RestfulAPIPullOne(collName string, filter bson.M, putData map[string]any) error + RestfulAPIPullOneWithContext(context context.Context, collName string, filter bson.M, putData map[string]any) error CreateIndex(collName string, keyField string) (bool, error) StartSession() (DBSession, error) SupportsTransactions() (bool, error) - RestfulAPIPostOnDB(ctx context.Context, dbName string, collName string, filter bson.M, postData map[string]interface{}) (bool, error) - RestfulAPIPutOneOnDB(ctx context.Context, dbName string, collName string, filter bson.M, putData map[string]interface{}) (bool, error) + RestfulAPIPostOnDB(ctx context.Context, dbName string, collName string, filter bson.M, postData map[string]any) (bool, error) + RestfulAPIPutOneOnDB(ctx context.Context, dbName string, collName string, filter bson.M, putData map[string]any) (bool, error) RestfulAPIDeleteOneOnDB(ctx context.Context, dbName string, collName string, filter bson.M) error } @@ -129,7 +129,7 @@ func GetSessionRunner(client DBInterface) SessionRunner { } defer session.EndSession(ctx) return session.WithSession(ctx, func(sc context.Context) error { - _, err = session.WithTransaction(sc, func(sc context.Context) (interface{}, error) { + _, err = session.WithTransaction(sc, func(sc context.Context) (any, error) { return nil, fn(sc) }) return err @@ -138,9 +138,9 @@ func GetSessionRunner(client DBInterface) SessionRunner { } type PatchOperation struct { - Value interface{} `json:"value,omitempty"` - Op string `json:"op"` - Path string `json:"path"` + Value any `json:"value,omitempty"` + Op string `json:"op"` + Path string `json:"path"` } func setDBClient(url, dbname string) (DBInterface, error) { @@ -395,31 +395,31 @@ func isRetryableMongoMessage(message string) bool { return false } -func (db *MongoDBClient) RestfulAPIGetOne(collName string, filter bson.M) (map[string]interface{}, error) { +func (db *MongoDBClient) RestfulAPIGetOne(collName string, filter bson.M) (map[string]any, error) { return db.MongoClient.RestfulAPIGetOne(collName, filter) } -func (db *MongoDBClient) RestfulAPIGetMany(collName string, filter bson.M) ([]map[string]interface{}, error) { +func (db *MongoDBClient) RestfulAPIGetMany(collName string, filter bson.M) ([]map[string]any, error) { return db.MongoClient.RestfulAPIGetMany(collName, filter) } -func (db *MongoDBClient) RestfulAPIPutOneTimeout(collName string, filter bson.M, putData map[string]interface{}, timeout int32, timeField string) bool { +func (db *MongoDBClient) RestfulAPIPutOneTimeout(collName string, filter bson.M, putData map[string]any, timeout int32, timeField string) bool { return db.MongoClient.RestfulAPIPutOneTimeout(collName, filter, putData, timeout, timeField) } -func (db *MongoDBClient) RestfulAPIPutOne(collName string, filter bson.M, putData map[string]interface{}) (bool, error) { +func (db *MongoDBClient) RestfulAPIPutOne(collName string, filter bson.M, putData map[string]any) (bool, error) { return db.MongoClient.RestfulAPIPutOne(collName, filter, putData) } -func (db *MongoDBClient) RestfulAPIPutOneWithContext(context context.Context, collName string, filter bson.M, putData map[string]interface{}) (bool, error) { +func (db *MongoDBClient) RestfulAPIPutOneWithContext(context context.Context, collName string, filter bson.M, putData map[string]any) (bool, error) { return db.MongoClient.RestfulAPIPutOneWithContext(context, collName, filter, putData) } -func (db *MongoDBClient) RestfulAPIPutOneNotUpdate(collName string, filter bson.M, putData map[string]interface{}) (bool, error) { +func (db *MongoDBClient) RestfulAPIPutOneNotUpdate(collName string, filter bson.M, putData map[string]any) (bool, error) { return db.MongoClient.RestfulAPIPutOneNotUpdate(collName, filter, putData) } -func (db *MongoDBClient) RestfulAPIPutMany(collName string, filterArray []bson.M, putDataArray []map[string]interface{}) error { +func (db *MongoDBClient) RestfulAPIPutMany(collName string, filterArray []bson.M, putDataArray []map[string]any) error { return db.MongoClient.RestfulAPIPutMany(collName, filterArray, putDataArray) } @@ -435,7 +435,7 @@ func (db *MongoDBClient) RestfulAPIDeleteMany(collName string, filter bson.M) er return db.MongoClient.RestfulAPIDeleteMany(collName, filter) } -func (db *MongoDBClient) RestfulAPIMergePatch(collName string, filter bson.M, patchData map[string]interface{}) error { +func (db *MongoDBClient) RestfulAPIMergePatch(collName string, filter bson.M, patchData map[string]any) error { return db.MongoClient.RestfulAPIMergePatch(collName, filter, patchData) } @@ -451,19 +451,19 @@ func (db *MongoDBClient) RestfulAPIJSONPatchExtend(collName string, filter bson. return db.MongoClient.RestfulAPIJSONPatchExtend(collName, filter, patchJSON, dataName) } -func (db *MongoDBClient) RestfulAPIPost(collName string, filter bson.M, postData map[string]interface{}) (bool, error) { +func (db *MongoDBClient) RestfulAPIPost(collName string, filter bson.M, postData map[string]any) (bool, error) { return db.MongoClient.RestfulAPIPost(collName, filter, postData) } -func (db *MongoDBClient) RestfulAPIPostWithContext(context context.Context, collName string, filter bson.M, postData map[string]interface{}) (bool, error) { +func (db *MongoDBClient) RestfulAPIPostWithContext(context context.Context, collName string, filter bson.M, postData map[string]any) (bool, error) { return db.MongoClient.RestfulAPIPostWithContext(context, collName, filter, postData) } -func (db *MongoDBClient) RestfulAPIPostMany(collName string, filter bson.M, postDataArray []interface{}) error { +func (db *MongoDBClient) RestfulAPIPostMany(collName string, filter bson.M, postDataArray []any) error { return db.MongoClient.RestfulAPIPostMany(collName, filter, postDataArray) } -func (db *MongoDBClient) RestfulAPIPostManyWithContext(context context.Context, collName string, filter bson.M, postDataArray []interface{}) error { +func (db *MongoDBClient) RestfulAPIPostManyWithContext(context context.Context, collName string, filter bson.M, postDataArray []any) error { return db.MongoClient.RestfulAPIPostManyWithContext(context, collName, filter, postDataArray) } @@ -471,11 +471,11 @@ func (db *MongoDBClient) RestfulAPICount(collName string, filter bson.M) (int64, return db.MongoClient.RestfulAPICount(collName, filter) } -func (db *MongoDBClient) RestfulAPIPullOne(collName string, filter bson.M, putData map[string]interface{}) error { +func (db *MongoDBClient) RestfulAPIPullOne(collName string, filter bson.M, putData map[string]any) error { return db.MongoClient.RestfulAPIPullOne(collName, filter, putData) } -func (db *MongoDBClient) RestfulAPIPullOneWithContext(context context.Context, collName string, filter bson.M, putData map[string]interface{}) error { +func (db *MongoDBClient) RestfulAPIPullOneWithContext(context context.Context, collName string, filter bson.M, putData map[string]any) error { return db.MongoClient.RestfulAPIPullOneWithContext(context, collName, filter, putData) } @@ -495,7 +495,7 @@ func (db *MongoDBClient) SupportsTransactions() (bool, error) { return db.MongoClient.SupportsTransactions() } -func (db *MongoDBClient) RestfulAPIPostOnDB(ctx context.Context, dbName string, collName string, filter bson.M, postData map[string]interface{}) (bool, error) { +func (db *MongoDBClient) RestfulAPIPostOnDB(ctx context.Context, dbName string, collName string, filter bson.M, postData map[string]any) (bool, error) { collection := db.Client.Database(dbName).Collection(collName) var existing bson.M err := collection.FindOne(ctx, filter).Decode(&existing) @@ -514,7 +514,7 @@ func (db *MongoDBClient) RestfulAPIPostOnDB(ctx context.Context, dbName string, return false, nil } -func (db *MongoDBClient) RestfulAPIPutOneOnDB(ctx context.Context, dbName string, collName string, filter bson.M, putData map[string]interface{}) (bool, error) { +func (db *MongoDBClient) RestfulAPIPutOneOnDB(ctx context.Context, dbName string, collName string, filter bson.M, putData map[string]any) (bool, error) { collection := db.Client.Database(dbName).Collection(collName) var existing bson.M err := collection.FindOne(ctx, filter).Decode(&existing) diff --git a/go.mod b/go.mod index d24255d0..a527a19a 100644 --- a/go.mod +++ b/go.mod @@ -9,13 +9,13 @@ require ( github.com/golang-jwt/jwt/v5 v5.3.1 github.com/google/uuid v1.6.0 github.com/omec-project/openapi/v2 v2.2.5 - github.com/omec-project/util v1.8.13 + github.com/omec-project/util v1.9.0 github.com/prometheus/client_golang v1.24.1 github.com/swaggo/files v1.0.1 github.com/swaggo/gin-swagger v1.6.1 github.com/swaggo/swag v1.16.6 - github.com/urfave/cli/v3 v3.13.0 - go.mongodb.org/mongo-driver/v2 v2.9.1 + github.com/urfave/cli/v3 v3.14.0 + go.mongodb.org/mongo-driver/v2 v2.9.2 go.uber.org/zap v1.28.0 go.yaml.in/yaml/v4 v4.0.0-rc.6 golang.org/x/crypto v0.57.0 @@ -75,6 +75,6 @@ require ( golang.org/x/sync v0.23.0 // indirect golang.org/x/sys v0.48.0 // indirect golang.org/x/text v0.42.0 // indirect - golang.org/x/tools v0.50.0 // indirect + golang.org/x/tools v0.51.0 // indirect google.golang.org/protobuf v1.36.12 // indirect ) diff --git a/go.sum b/go.sum index 8fa622fc..9f915762 100644 --- a/go.sum +++ b/go.sum @@ -96,8 +96,8 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/omec-project/openapi/v2 v2.2.5 h1:G2mqm2W56+Gdgehu6L+fAmPMlVVqdvqnse4GutnIaEI= github.com/omec-project/openapi/v2 v2.2.5/go.mod h1:eCINoLdvAXP3BBFx93kOOfq0KHGqfMUshJzaYwNadPM= -github.com/omec-project/util v1.8.13 h1:AZt8QDXjqZy3Od8qmVA0KV4v9VOqBMk8f87zYAcxcpU= -github.com/omec-project/util v1.8.13/go.mod h1:g850w4VFZEIzxYLJTU/XM9nRyMXE1UvIgYhWla/fkSw= +github.com/omec-project/util v1.9.0 h1:FBPEn9+2Owgqzqhgd9Bwvt8saaDQ6VBVjN9YIWsgWG4= +github.com/omec-project/util v1.9.0/go.mod h1:g850w4VFZEIzxYLJTU/XM9nRyMXE1UvIgYhWla/fkSw= github.com/pelletier/go-toml/v2 v2.4.3 h1:GTRvJQutkOSftxIFD5xw9aepkYNuPWmVJpffdDPYVpY= github.com/pelletier/go-toml/v2 v2.4.3/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -136,8 +136,8 @@ github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= github.com/ugorji/go/codec v1.3.2 h1:zkEASHHyEClGeURfgNT9PJZVfAbs9oEX9QXggwWNJbc= github.com/ugorji/go/codec v1.3.2/go.mod h1:pRBVtBSKl77K30Bv8R2P+cLSGaTtex6fsA2Wjqmfxj4= -github.com/urfave/cli/v3 v3.13.0 h1:Dr6jqMfIyyFsRVn7Nz5mqLsMY+ZMpfh3a0aMs+umPVY= -github.com/urfave/cli/v3 v3.13.0/go.mod h1:vXn6HxPNccJSzQr2QvwVncOKrgYGIHU0HY5h8B2nQj4= +github.com/urfave/cli/v3 v3.14.0 h1:a8414NQlHJs0c/iBsulKLzlES0n/lEAskbL2LKpU4/s= +github.com/urfave/cli/v3 v3.14.0/go.mod h1:vXn6HxPNccJSzQr2QvwVncOKrgYGIHU0HY5h8B2nQj4= github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c= github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= github.com/xdg-go/scram v1.2.0 h1:bYKF2AEwG5rqd1BumT4gAnvwU/M9nBp2pTSxeZw7Wvs= @@ -147,8 +147,8 @@ github.com/xdg-go/stringprep v1.0.4/go.mod h1:mPGuuIYwz7CmR2bT9j4GbQqutWS1zV24gi github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 h1:ilQV1hzziu+LLM3zUTJ0trRztfwgjqKnBWNtSRkbmwM= github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78/go.mod h1:aL8wCCfTfSfmXjznFBSZNN13rSJjlIOI1fUNAtF7rmI= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -go.mongodb.org/mongo-driver/v2 v2.9.1 h1:jewiFs2m1/VOQp8qhFshX6hWZ+EAXDhZHXExAUMcOgQ= -go.mongodb.org/mongo-driver/v2 v2.9.1/go.mod h1:SHKN0IWkKmEVGHLjXnni6s4wPKX4v86FTgOeJJFuXcA= +go.mongodb.org/mongo-driver/v2 v2.9.2 h1:OCAdjI37pC/SVxucz/9CM8zD4jCdegtsY5QcKzYFCgE= +go.mongodb.org/mongo-driver/v2 v2.9.2/go.mod h1:SHKN0IWkKmEVGHLjXnni6s4wPKX4v86FTgOeJJFuXcA= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/mock v0.6.0 h1:hyF9dfmbgIX5EfOdasqLsWD6xqpNZlXblLB/Dbnwv3Y= @@ -203,8 +203,8 @@ golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.50.0 h1:c2ifzfcuY7L90lZ2aKd8S4K2NpASF08SZx9ZuJkHmSU= -golang.org/x/tools v0.50.0/go.mod h1:7ulVMw3831Mwi5EZD6RomGyffr4VFjuNYXf2BbCEAV0= +golang.org/x/tools v0.51.0 h1:k4Xc/1Om9jwkBJBo4NVLMSARBoWtK10mx+W5BnXCeAI= +golang.org/x/tools v0.51.0/go.mod h1:9eEncMayCV6zRMGhR5eZEC2iBx98qWcF1HZ9Z7wJOoA= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=