diff --git a/db/metric.go b/db/metric.go index b39026e..daddf56 100644 --- a/db/metric.go +++ b/db/metric.go @@ -8,3 +8,7 @@ type Metric struct { Name string Short string } + +func (m Metric) GetID() uint { + return m.ID +}