mockservices

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountExtService

type AccountExtService struct {
	mock.Mock
}

AccountExtService is an autogenerated mock type for the AccountExtService type

func NewAccountExtService

func NewAccountExtService(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccountExtService

NewAccountExtService creates a new instance of AccountExtService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AccountExtService) CachedMe

func (_m *AccountExtService) CachedMe() (*models.Account, bool, error)

CachedMe provides a mock function with given fields:

func (*AccountExtService) FindLastFetchInfo

func (_m *AccountExtService) FindLastFetchInfo() (*models.Account, error)

FindLastFetchInfo provides a mock function with given fields:

func (*AccountExtService) Me

func (_m *AccountExtService) Me() (*models.Account, error)

Me provides a mock function with given fields:

func (*AccountExtService) ModifyLastFetchInfo

func (_m *AccountExtService) ModifyLastFetchInfo(account *models.Account) error

ModifyLastFetchInfo provides a mock function with given fields: account

type AccountService

type AccountService struct {
	mock.Mock
}

AccountService is an autogenerated mock type for the AccountService type

func NewAccountService

func NewAccountService(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccountService

NewAccountService creates a new instance of AccountService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AccountService) Me

func (_m *AccountService) Me() (*models.Account, error)

Me provides a mock function with given fields:

type ContextPersistenceService

type ContextPersistenceService struct {
	mock.Mock
}

ContextPersistenceService is an autogenerated mock type for the ContextPersistenceService type

func NewContextPersistenceService

func NewContextPersistenceService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ContextPersistenceService

NewContextPersistenceService creates a new instance of ContextPersistenceService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ContextPersistenceService) Clean

func (_m *ContextPersistenceService) Clean() error

Clean provides a mock function with given fields:

func (*ContextPersistenceService) Create

func (_m *ContextPersistenceService) Create(name string) (*models.Context, error)

Create provides a mock function with given fields: name

func (*ContextPersistenceService) Delete

func (_m *ContextPersistenceService) Delete(name string) error

Delete provides a mock function with given fields: name

func (*ContextPersistenceService) Find

Find provides a mock function with given fields: name

func (*ContextPersistenceService) FindByID

func (_m *ContextPersistenceService) FindByID(id int64) (*models.Context, error)

FindByID provides a mock function with given fields: id

func (*ContextPersistenceService) ListAll

func (_m *ContextPersistenceService) ListAll() ([]*models.Context, error)

ListAll provides a mock function with given fields:

func (*ContextPersistenceService) PartialSync

func (_m *ContextPersistenceService) PartialSync(lastEditTime *int32) error

PartialSync provides a mock function with given fields: lastEditTime

func (*ContextPersistenceService) Rename

func (_m *ContextPersistenceService) Rename(name string, newName string) (*models.Context, error)

Rename provides a mock function with given fields: name, newName

func (*ContextPersistenceService) Sync

func (_m *ContextPersistenceService) Sync() error

Sync provides a mock function with given fields:

type ContextService

type ContextService struct {
	mock.Mock
}

ContextService is an autogenerated mock type for the ContextService type

func NewContextService

func NewContextService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ContextService

NewContextService creates a new instance of ContextService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ContextService) Create

func (_m *ContextService) Create(name string) (*models.Context, error)

Create provides a mock function with given fields: name

func (*ContextService) Delete

func (_m *ContextService) Delete(name string) error

Delete provides a mock function with given fields: name

func (*ContextService) Find

func (_m *ContextService) Find(name string) (*models.Context, error)

Find provides a mock function with given fields: name

func (*ContextService) FindByID

func (_m *ContextService) FindByID(id int64) (*models.Context, error)

FindByID provides a mock function with given fields: id

func (*ContextService) ListAll

func (_m *ContextService) ListAll() ([]*models.Context, error)

ListAll provides a mock function with given fields:

func (*ContextService) Rename

func (_m *ContextService) Rename(name string, newName string) (*models.Context, error)

Rename provides a mock function with given fields: name, newName

type FolderPersistenceService

type FolderPersistenceService struct {
	mock.Mock
}

FolderPersistenceService is an autogenerated mock type for the FolderPersistenceService type

func NewFolderPersistenceService

func NewFolderPersistenceService(t interface {
	mock.TestingT
	Cleanup(func())
}) *FolderPersistenceService

NewFolderPersistenceService creates a new instance of FolderPersistenceService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FolderPersistenceService) Archive

func (_m *FolderPersistenceService) Archive(id int, isArchived bool) (*models.Folder, error)

Archive provides a mock function with given fields: id, isArchived

func (*FolderPersistenceService) Clean

func (_m *FolderPersistenceService) Clean() error

Clean provides a mock function with given fields:

func (*FolderPersistenceService) Create

func (_m *FolderPersistenceService) Create(name string) (*models.Folder, error)

Create provides a mock function with given fields: name

func (*FolderPersistenceService) Delete

func (_m *FolderPersistenceService) Delete(name string) error

Delete provides a mock function with given fields: name

func (*FolderPersistenceService) Find

func (_m *FolderPersistenceService) Find(name string) (*models.Folder, error)

Find provides a mock function with given fields: name

func (*FolderPersistenceService) FindByID

func (_m *FolderPersistenceService) FindByID(id int64) (*models.Folder, error)

FindByID provides a mock function with given fields: id

func (*FolderPersistenceService) ListAll

func (_m *FolderPersistenceService) ListAll() ([]*models.Folder, error)

ListAll provides a mock function with given fields:

func (*FolderPersistenceService) PartialSync

func (_m *FolderPersistenceService) PartialSync(lastEditTime *int32) error

PartialSync provides a mock function with given fields: lastEditTime

func (*FolderPersistenceService) Rename

func (_m *FolderPersistenceService) Rename(name string, newName string) (*models.Folder, error)

Rename provides a mock function with given fields: name, newName

func (*FolderPersistenceService) Sync

func (_m *FolderPersistenceService) Sync() error

Sync provides a mock function with given fields:

type FolderService

type FolderService struct {
	mock.Mock
}

FolderService is an autogenerated mock type for the FolderService type

func NewFolderService

func NewFolderService(t interface {
	mock.TestingT
	Cleanup(func())
}) *FolderService

NewFolderService creates a new instance of FolderService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FolderService) Archive

func (_m *FolderService) Archive(id int, isArchived bool) (*models.Folder, error)

Archive provides a mock function with given fields: id, isArchived

func (*FolderService) Create

func (_m *FolderService) Create(name string) (*models.Folder, error)

Create provides a mock function with given fields: name

func (*FolderService) Delete

func (_m *FolderService) Delete(name string) error

Delete provides a mock function with given fields: name

func (*FolderService) Find

func (_m *FolderService) Find(name string) (*models.Folder, error)

Find provides a mock function with given fields: name

func (*FolderService) FindByID

func (_m *FolderService) FindByID(id int64) (*models.Folder, error)

FindByID provides a mock function with given fields: id

func (*FolderService) ListAll

func (_m *FolderService) ListAll() ([]*models.Folder, error)

ListAll provides a mock function with given fields:

func (*FolderService) Rename

func (_m *FolderService) Rename(name string, newName string) (*models.Folder, error)

Rename provides a mock function with given fields: name, newName

type GoalPersistenceService

type GoalPersistenceService struct {
	mock.Mock
}

GoalPersistenceService is an autogenerated mock type for the GoalPersistenceService type

func NewGoalPersistenceService

func NewGoalPersistenceService(t interface {
	mock.TestingT
	Cleanup(func())
}) *GoalPersistenceService

NewGoalPersistenceService creates a new instance of GoalPersistenceService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GoalPersistenceService) Archive

func (_m *GoalPersistenceService) Archive(id int, isArchived bool) (*models.Goal, error)

Archive provides a mock function with given fields: id, isArchived

func (*GoalPersistenceService) Clean

func (_m *GoalPersistenceService) Clean() error

Clean provides a mock function with given fields:

func (*GoalPersistenceService) Create

func (_m *GoalPersistenceService) Create(name string) (*models.Goal, error)

Create provides a mock function with given fields: name

func (*GoalPersistenceService) Delete

func (_m *GoalPersistenceService) Delete(name string) error

Delete provides a mock function with given fields: name

func (*GoalPersistenceService) Find

func (_m *GoalPersistenceService) Find(name string) (*models.Goal, error)

Find provides a mock function with given fields: name

func (*GoalPersistenceService) FindByID

func (_m *GoalPersistenceService) FindByID(id int64) (*models.Goal, error)

FindByID provides a mock function with given fields: id

func (*GoalPersistenceService) ListAll

func (_m *GoalPersistenceService) ListAll() ([]*models.Goal, error)

ListAll provides a mock function with given fields:

func (*GoalPersistenceService) ListAllWithArchived

func (_m *GoalPersistenceService) ListAllWithArchived() ([]*models.Goal, error)

ListAllWithArchived provides a mock function with given fields:

func (*GoalPersistenceService) PartialSync

func (_m *GoalPersistenceService) PartialSync(lastEditTime *int32) error

PartialSync provides a mock function with given fields: lastEditTime

func (*GoalPersistenceService) Rename

func (_m *GoalPersistenceService) Rename(name string, newName string) (*models.Goal, error)

Rename provides a mock function with given fields: name, newName

func (*GoalPersistenceService) Sync

func (_m *GoalPersistenceService) Sync() error

Sync provides a mock function with given fields:

type GoalService

type GoalService struct {
	mock.Mock
}

GoalService is an autogenerated mock type for the GoalService type

func NewGoalService

func NewGoalService(t interface {
	mock.TestingT
	Cleanup(func())
}) *GoalService

NewGoalService creates a new instance of GoalService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GoalService) Archive

func (_m *GoalService) Archive(id int, isArchived bool) (*models.Goal, error)

Archive provides a mock function with given fields: id, isArchived

func (*GoalService) Create

func (_m *GoalService) Create(name string) (*models.Goal, error)

Create provides a mock function with given fields: name

func (*GoalService) Delete

func (_m *GoalService) Delete(name string) error

Delete provides a mock function with given fields: name

func (*GoalService) Find

func (_m *GoalService) Find(name string) (*models.Goal, error)

Find provides a mock function with given fields: name

func (*GoalService) FindByID

func (_m *GoalService) FindByID(id int64) (*models.Goal, error)

FindByID provides a mock function with given fields: id

func (*GoalService) ListAll

func (_m *GoalService) ListAll() ([]*models.Goal, error)

ListAll provides a mock function with given fields:

func (*GoalService) ListAllWithArchived

func (_m *GoalService) ListAllWithArchived() ([]*models.Goal, error)

ListAllWithArchived provides a mock function with given fields:

func (*GoalService) Rename

func (_m *GoalService) Rename(name string, newName string) (*models.Goal, error)

Rename provides a mock function with given fields: name, newName

type SavedSearchService

type SavedSearchService struct {
	mock.Mock
}

SavedSearchService is an autogenerated mock type for the SavedSearchService type

func NewSavedSearchService

func NewSavedSearchService(t interface {
	mock.TestingT
	Cleanup(func())
}) *SavedSearchService

NewSavedSearchService creates a new instance of SavedSearchService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SavedSearchService) ListAll

func (_m *SavedSearchService) ListAll() ([]*models.SavedSearch, error)

ListAll provides a mock function with given fields:

type SettingService

type SettingService struct {
	mock.Mock
}

SettingService is an autogenerated mock type for the SettingService type

func NewSettingService

func NewSettingService(t interface {
	mock.TestingT
	Cleanup(func())
}) *SettingService

NewSettingService creates a new instance of SettingService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SettingService) Delete

func (_m *SettingService) Delete(name string) error

Delete provides a mock function with given fields: name

func (*SettingService) Find

func (_m *SettingService) Find(name string) (string, error)

Find provides a mock function with given fields: name

func (*SettingService) Put

func (_m *SettingService) Put(name string, body string) error

Put provides a mock function with given fields: name, body

type Synchronizable

type Synchronizable struct {
	mock.Mock
}

Synchronizable is an autogenerated mock type for the Synchronizable type

func NewSynchronizable

func NewSynchronizable(t interface {
	mock.TestingT
	Cleanup(func())
}) *Synchronizable

NewSynchronizable creates a new instance of Synchronizable. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Synchronizable) Clean

func (_m *Synchronizable) Clean() error

Clean provides a mock function with given fields:

func (*Synchronizable) PartialSync

func (_m *Synchronizable) PartialSync(lastEditTime *int32) error

PartialSync provides a mock function with given fields: lastEditTime

func (*Synchronizable) Sync

func (_m *Synchronizable) Sync() error

Sync provides a mock function with given fields:

type TaskExtendedService

type TaskExtendedService struct {
	mock.Mock
}

TaskExtendedService is an autogenerated mock type for the TaskExtendedService type

func NewTaskExtendedService

func NewTaskExtendedService(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskExtendedService

NewTaskExtendedService creates a new instance of TaskExtendedService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskExtendedService) Complete

func (_m *TaskExtendedService) Complete(id int64) (*models.Task, error)

Complete provides a mock function with given fields: id

func (*TaskExtendedService) Create

func (_m *TaskExtendedService) Create(title string) (*models.Task, error)

Create provides a mock function with given fields: title

func (*TaskExtendedService) CreateByQuery

func (_m *TaskExtendedService) CreateByQuery(query *queries.TaskCreateQuery) (*models.Task, error)

CreateByQuery provides a mock function with given fields: query

func (*TaskExtendedService) Delete

func (_m *TaskExtendedService) Delete(id int64) error

Delete provides a mock function with given fields: id

func (*TaskExtendedService) DeleteBatch

func (_m *TaskExtendedService) DeleteBatch(ids []int64) ([]int64, []*models.TaskDeleteItem, error)

DeleteBatch provides a mock function with given fields: ids

func (*TaskExtendedService) Edit

func (_m *TaskExtendedService) Edit(id int64, t *models.TaskEdit) (*models.Task, error)

Edit provides a mock function with given fields: id, t

func (*TaskExtendedService) EditByQuery

func (_m *TaskExtendedService) EditByQuery(query *queries.TaskEditQuery) (*models.Task, error)

EditByQuery provides a mock function with given fields: query

func (*TaskExtendedService) FindByID

func (_m *TaskExtendedService) FindByID(id int64) (*models.Task, error)

FindByID provides a mock function with given fields: id

func (*TaskExtendedService) List

func (_m *TaskExtendedService) List(start int64, limit int64) ([]*models.Task, *models.PaginatedInfo, error)

List provides a mock function with given fields: start, limit

func (*TaskExtendedService) ListAll

func (_m *TaskExtendedService) ListAll() ([]*models.Task, int, error)

ListAll provides a mock function with given fields:

func (*TaskExtendedService) ListAllByQuery

func (_m *TaskExtendedService) ListAllByQuery(query *queries.TaskListQuery) ([]*models.Task, error)

ListAllByQuery provides a mock function with given fields: query

func (*TaskExtendedService) ListDeleted

func (_m *TaskExtendedService) ListDeleted(lastEditTime *int32) ([]*models.TaskDeleted, error)

ListDeleted provides a mock function with given fields: lastEditTime

func (*TaskExtendedService) ListWithChanged

func (_m *TaskExtendedService) ListWithChanged(lastEditTime *int32, start int64, limit int64) ([]*models.Task, *models.PaginatedInfo, error)

ListWithChanged provides a mock function with given fields: lastEditTime, start, limit

func (*TaskExtendedService) Start

func (_m *TaskExtendedService) Start(id int64) error

Start provides a mock function with given fields: id

func (*TaskExtendedService) Stop

func (_m *TaskExtendedService) Stop(id int64) error

Stop provides a mock function with given fields: id

func (*TaskExtendedService) UnComplete

func (_m *TaskExtendedService) UnComplete(id int64) (*models.Task, error)

UnComplete provides a mock function with given fields: id

type TaskPersistenceExtService

type TaskPersistenceExtService struct {
	mock.Mock
}

TaskPersistenceExtService is an autogenerated mock type for the TaskPersistenceExtService type

func NewTaskPersistenceExtService

func NewTaskPersistenceExtService(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskPersistenceExtService

NewTaskPersistenceExtService creates a new instance of TaskPersistenceExtService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskPersistenceExtService) Clean

func (_m *TaskPersistenceExtService) Clean() error

Clean provides a mock function with given fields:

func (*TaskPersistenceExtService) Complete

func (_m *TaskPersistenceExtService) Complete(id int64) (*models.Task, error)

Complete provides a mock function with given fields: id

func (*TaskPersistenceExtService) Create

func (_m *TaskPersistenceExtService) Create(title string) (*models.Task, error)

Create provides a mock function with given fields: title

func (*TaskPersistenceExtService) CreateByQuery

func (_m *TaskPersistenceExtService) CreateByQuery(query *queries.TaskCreateQuery) (*models.Task, error)

CreateByQuery provides a mock function with given fields: query

func (*TaskPersistenceExtService) Delete

func (_m *TaskPersistenceExtService) Delete(id int64) error

Delete provides a mock function with given fields: id

func (*TaskPersistenceExtService) DeleteBatch

func (_m *TaskPersistenceExtService) DeleteBatch(ids []int64) ([]int64, []*models.TaskDeleteItem, error)

DeleteBatch provides a mock function with given fields: ids

func (*TaskPersistenceExtService) Edit

Edit provides a mock function with given fields: id, t

func (*TaskPersistenceExtService) EditByQuery

func (_m *TaskPersistenceExtService) EditByQuery(query *queries.TaskEditQuery) (*models.Task, error)

EditByQuery provides a mock function with given fields: query

func (*TaskPersistenceExtService) FindByID

func (_m *TaskPersistenceExtService) FindByID(id int64) (*models.Task, error)

FindByID provides a mock function with given fields: id

func (*TaskPersistenceExtService) List

func (_m *TaskPersistenceExtService) List(start int64, limit int64) ([]*models.Task, *models.PaginatedInfo, error)

List provides a mock function with given fields: start, limit

func (*TaskPersistenceExtService) ListAll

func (_m *TaskPersistenceExtService) ListAll() ([]*models.Task, int, error)

ListAll provides a mock function with given fields:

func (*TaskPersistenceExtService) ListAllByQuery

func (_m *TaskPersistenceExtService) ListAllByQuery(query *queries.TaskListQuery) ([]*models.Task, error)

ListAllByQuery provides a mock function with given fields: query

func (*TaskPersistenceExtService) ListDeleted

func (_m *TaskPersistenceExtService) ListDeleted(lastEditTime *int32) ([]*models.TaskDeleted, error)

ListDeleted provides a mock function with given fields: lastEditTime

func (*TaskPersistenceExtService) ListWithChanged

func (_m *TaskPersistenceExtService) ListWithChanged(lastEditTime *int32, start int64, limit int64) ([]*models.Task, *models.PaginatedInfo, error)

ListWithChanged provides a mock function with given fields: lastEditTime, start, limit

func (*TaskPersistenceExtService) PartialSync

func (_m *TaskPersistenceExtService) PartialSync(lastEditTime *int32) error

PartialSync provides a mock function with given fields: lastEditTime

func (*TaskPersistenceExtService) Start

func (_m *TaskPersistenceExtService) Start(id int64) error

Start provides a mock function with given fields: id

func (*TaskPersistenceExtService) Stop

func (_m *TaskPersistenceExtService) Stop(id int64) error

Stop provides a mock function with given fields: id

func (*TaskPersistenceExtService) Sync

func (_m *TaskPersistenceExtService) Sync() error

Sync provides a mock function with given fields:

func (*TaskPersistenceExtService) UnComplete

func (_m *TaskPersistenceExtService) UnComplete(id int64) (*models.Task, error)

UnComplete provides a mock function with given fields: id

type TaskRichService

type TaskRichService struct {
	mock.Mock
}

TaskRichService is an autogenerated mock type for the TaskRichService type

func NewTaskRichService

func NewTaskRichService(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskRichService

NewTaskRichService creates a new instance of TaskRichService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskRichService) Find

func (_m *TaskRichService) Find(id int64) (*models.RichTask, error)

Find provides a mock function with given fields: id

func (*TaskRichService) Rich

func (_m *TaskRichService) Rich(tasks *models.Task) (*models.RichTask, error)

Rich provides a mock function with given fields: tasks

func (*TaskRichService) RichThem

func (_m *TaskRichService) RichThem(tasks []*models.Task) ([]*models.RichTask, error)

RichThem provides a mock function with given fields: tasks

type TaskService

type TaskService struct {
	mock.Mock
}

TaskService is an autogenerated mock type for the TaskService type

func NewTaskService

func NewTaskService(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskService

NewTaskService creates a new instance of TaskService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskService) Complete

func (_m *TaskService) Complete(id int64) (*models.Task, error)

Complete provides a mock function with given fields: id

func (*TaskService) Create

func (_m *TaskService) Create(title string) (*models.Task, error)

Create provides a mock function with given fields: title

func (*TaskService) CreateByQuery

func (_m *TaskService) CreateByQuery(query *queries.TaskCreateQuery) (*models.Task, error)

CreateByQuery provides a mock function with given fields: query

func (*TaskService) Delete

func (_m *TaskService) Delete(id int64) error

Delete provides a mock function with given fields: id

func (*TaskService) DeleteBatch

func (_m *TaskService) DeleteBatch(ids []int64) ([]int64, []*models.TaskDeleteItem, error)

DeleteBatch provides a mock function with given fields: ids

func (*TaskService) Edit

func (_m *TaskService) Edit(id int64, t *models.TaskEdit) (*models.Task, error)

Edit provides a mock function with given fields: id, t

func (*TaskService) EditByQuery

func (_m *TaskService) EditByQuery(query *queries.TaskEditQuery) (*models.Task, error)

EditByQuery provides a mock function with given fields: query

func (*TaskService) FindByID

func (_m *TaskService) FindByID(id int64) (*models.Task, error)

FindByID provides a mock function with given fields: id

func (*TaskService) List

func (_m *TaskService) List(start int64, limit int64) ([]*models.Task, *models.PaginatedInfo, error)

List provides a mock function with given fields: start, limit

func (*TaskService) ListAll

func (_m *TaskService) ListAll() ([]*models.Task, int, error)

ListAll provides a mock function with given fields:

func (*TaskService) ListDeleted

func (_m *TaskService) ListDeleted(lastEditTime *int32) ([]*models.TaskDeleted, error)

ListDeleted provides a mock function with given fields: lastEditTime

func (*TaskService) ListWithChanged

func (_m *TaskService) ListWithChanged(lastEditTime *int32, start int64, limit int64) ([]*models.Task, *models.PaginatedInfo, error)

ListWithChanged provides a mock function with given fields: lastEditTime, start, limit

func (*TaskService) Start

func (_m *TaskService) Start(id int64) error

Start provides a mock function with given fields: id

func (*TaskService) Stop

func (_m *TaskService) Stop(id int64) error

Stop provides a mock function with given fields: id

func (*TaskService) UnComplete

func (_m *TaskService) UnComplete(id int64) (*models.Task, error)

UnComplete provides a mock function with given fields: id

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL