obicsv bug with stat on value map fields

This commit is contained in:
Eric Coissac committed 2025-11-21 14:03:31 +01:00
1 parent 961abcea7b
commit 86e60aedd0
3 files changed
+8 -2

No files matched your search

+6
View File
@@ -76,6 +76,12 @@ func MapAsStatsOnValues(m map[string]int) *StatsOnValues {
return &v
}
func IsStatsOnValues(value interface{}) bool {
_, ok := value.(*StatsOnValues)
return ok
}
func (sov *StatsOnValues) RLock() {
sov.lock.RLock()
}