metricator/pkg/schema/apps_list.go
Stanislav N. aka pztrn 614526b16d
The very basic metricator-client and package.
Package can be used in external things if needed.
2020-12-24 23:06:13 +05:00

10 lines
235 B
Go

package schema
// AppsList represents applications list structure from Metricator's API.
type AppsList []string
// IsEmpty returns true if returned applications list is empty.
func (a AppsList) IsEmpty() bool {
return len(a) == 0
}