Embedded types should be at the top of the field list of a struct.

And there should be an empty line separating embedded fields from regular fields
This commit is contained in:
Holger Obermaier
2026-02-16 10:54:12 +01:00
parent 83720aa5be
commit 40fe94cabb
30 changed files with 29 additions and 13 deletions

View File

@@ -59,6 +59,7 @@ type NUMAStatsCollectorTopolgy struct {
type NUMAStatsCollector struct {
metricCollector
topology []NUMAStatsCollectorTopolgy
config NUMAStatsCollectorConfig
lastTimestamp time.Time