func getDependency(m *martini.Martini, i interface{}) interface{} { return m.Get(inject.InterfaceOf(i)).Interface() }