Compare commits

...

1 Commits

Author SHA1 Message Date
2569c165f8 v0.0.162 2023-06-11 16:38:47 +02:00
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