(mk MetricKind)
| 110 | type MetricSet map[MetricKind]struct{} |
| 111 | |
| 112 | func (ms MetricSet) Has(mk MetricKind) bool { |
| 113 | _, exists := ms[mk] |
| 114 | return exists |
| 115 | } |
| 116 | |
| 117 | func (ms MetricSet) HasAny(ms1 MetricSet) bool { |
| 118 | for m := range ms1 { |
no outgoing calls