10 lines
205 B
Go
10 lines
205 B
Go
package schema
|
|
|
|
// Metrics is a metrics collection response.
|
|
type Metrics []*Metric
|
|
|
|
// IsEmpty returns true if returned applications list is empty.
|
|
func (m Metrics) IsEmpty() bool {
|
|
return len(m) == 0
|
|
}
|