Add implementation for Identifiable interface for Metric entity
This commit is contained in:
parent
579bb031c7
commit
d929492e3d
|
@ -8,3 +8,7 @@ type Metric struct {
|
||||||
Name string
|
Name string
|
||||||
Short string
|
Short string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m Metric) GetID() uint {
|
||||||
|
return m.ID
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user