This commit is contained in:
Mike Schwörer 2023-06-11 16:38:47 +02:00
parent ee262a94fb
commit 2569c165f8
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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