move function to features

This commit is contained in:
Darien Raymond
2018-10-13 15:15:49 +02:00
parent 2440d276f1
commit abf0cb1ec4
12 changed files with 25 additions and 9 deletions
+1
View File
@@ -25,6 +25,7 @@ func GetOrRegisterCounter(m Manager, name string) (Counter, error) {
return m.RegisterCounter(name)
}
// ManagerType returns the type of Manager interface. Can be used to implement common.HasType.
func ManagerType() interface{} {
return (*Manager)(nil)
}