func (_m *API) GetGenres(_type string) ([]model.ItemCount, int, error) {
    ret := _m.Called(_type)

    var r0 []model.ItemCount
    if rf, ok := ret.Get(0).(func(string) []model.ItemCount); ok {