GetOne should use id

This commit is contained in:
George Suntres
2026-04-14 19:28:40 -04:00
parent fedad18a59
commit 2c7d9653c2
3 changed files with 21 additions and 8 deletions

12
go.mod
View File

@@ -3,15 +3,15 @@ module git.gsuntres.com/general/persist
go 1.25.0
require (
git.gsuntres.com/general/commons v0.0.0-20260402010100-7e8cf14bb0a5
git.gsuntres.com/general/mongo v0.0.0-20260329164619-eff6c4ecee15
git.gsuntres.com/general/commons v0.0.0-20260414224953-706ed2e6b0be
git.gsuntres.com/general/mongo v0.0.0-20260411181748-96254895839d
git.gsuntres.com/general/structful v0.0.0-20260402004702-c83e44b04a9f
github.com/go-viper/mapstructure/v2 v2.5.0
github.com/testcontainers/testcontainers-go v0.41.0
github.com/testcontainers/testcontainers-go/modules/mongodb v0.41.0
go.mongodb.org/mongo-driver/v2 v2.5.0
golang.org/x/crypto v0.49.0
golang.org/x/text v0.35.0
go.mongodb.org/mongo-driver/v2 v2.5.1
golang.org/x/crypto v0.50.0
golang.org/x/text v0.36.0
)
require (
@@ -73,7 +73,7 @@ require (
go.opentelemetry.io/otel/metric v1.41.0 // indirect
go.opentelemetry.io/otel/trace v1.41.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.42.0 // indirect
golang.org/x/sys v0.43.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260330182312-d5a96adf58d8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260311181403-84a4fc48630c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect