github.com/aakash4dev/cometbft@v0.38.2/scripts/metricsgen/testdata/commented/metrics.go (about) 1 package commented 2 3 import "github.com/go-kit/kit/metrics" 4 5 //go:generate go run ../../../../scripts/metricsgen -struct=Metrics 6 7 type Metrics struct { 8 // Height of the chain. 9 // We expect multi-line comments to parse correctly. 10 Field metrics.Gauge 11 }