From 8de83cc290ab216aae586d80d4f59215ba385974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Thu, 8 Jun 2023 16:26:06 +0200 Subject: [PATCH] v0.0.155 --- goextVersion.go | 4 ++-- wmo/collection.go | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/goextVersion.go b/goextVersion.go index ca48575..f80ddd6 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.154" +const GoextVersion = "0.0.155" -const GoextVersionTimestamp = "2023-06-08T16:24:53+0200" +const GoextVersionTimestamp = "2023-06-08T16:26:06+0200" diff --git a/wmo/collection.go b/wmo/collection.go index 4fb117f..cfcfaf9 100644 --- a/wmo/collection.go +++ b/wmo/collection.go @@ -2,13 +2,17 @@ package wmo import ( "context" + "go.mongodb.org/mongo-driver/bson/bsontype" "go.mongodb.org/mongo-driver/mongo" ct "gogs.mikescher.com/BlackForestBytes/goext/cursortoken" "gogs.mikescher.com/BlackForestBytes/goext/langext" "reflect" ) -type EntityID = any +type EntityID interface { + MarshalBSONValue() (bsontype.Type, []byte, error) + String() string +} type fullTypeRef[TData any] struct { IsPointer bool