From 2569c165f855c9ec4803aff7be72cea7df86cd31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sun, 11 Jun 2023 16:38:47 +0200 Subject: [PATCH] v0.0.162 --- goextVersion.go | 4 ++-- wmo/reflection.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/goextVersion.go b/goextVersion.go index e08c894..4b02755 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.161" +const GoextVersion = "0.0.162" -const GoextVersionTimestamp = "2023-06-11T16:35:20+0200" +const GoextVersionTimestamp = "2023-06-11T16:38:47+0200" diff --git a/wmo/reflection.go b/wmo/reflection.go index af776fd..57be754 100644 --- a/wmo/reflection.go +++ b/wmo/reflection.go @@ -75,8 +75,8 @@ func (c *Coll[TData]) initFields(prefix string, rval reflect.Value, m map[string continue } if strings.Contains(bsonkey, ",") { - bsonkey = bsonkey[:strings.Index(bsonkey, ",")] bsontags = strings.Split(bsonkey[strings.Index(bsonkey, ",")+1:], ",") + bsonkey = bsonkey[:strings.Index(bsonkey, ",")] } if bsonkey == "-" { continue