Add sort query parameter to GET /emojis (#8121)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
9d6a9ff4be
Коммит
a844577535
@@ -61,13 +61,13 @@ func (_m *EmojiStore) GetByName(name string) store.StoreChannel {
|
||||
return r0
|
||||
}
|
||||
|
||||
// GetList provides a mock function with given fields: offset, limit
|
||||
func (_m *EmojiStore) GetList(offset int, limit int) store.StoreChannel {
|
||||
ret := _m.Called(offset, limit)
|
||||
// GetList provides a mock function with given fields: offset, limit, sort
|
||||
func (_m *EmojiStore) GetList(offset int, limit int, sort string) store.StoreChannel {
|
||||
ret := _m.Called(offset, limit, sort)
|
||||
|
||||
var r0 store.StoreChannel
|
||||
if rf, ok := ret.Get(0).(func(int, int) store.StoreChannel); ok {
|
||||
r0 = rf(offset, limit)
|
||||
if rf, ok := ret.Get(0).(func(int, int, string) store.StoreChannel); ok {
|
||||
r0 = rf(offset, limit, sort)
|
||||
} else {
|
||||
if ret.Get(0) != nil {
|
||||
r0 = ret.Get(0).(store.StoreChannel)
|
||||
|
||||
Ссылка в новой задаче
Block a user