Documentation ¶
Index ¶
- type StorageManager
- func (_m *StorageManager) GetArticle(ctx context.Context, slug string) (*models.Article, error)
- func (_m *StorageManager) GetArticleCount(ctx context.Context) (int, error)
- func (_m *StorageManager) GetArticles(ctx context.Context, page int) ([]models.Article, error)
- func (_m *StorageManager) GetSimplePage(ctx context.Context, slug string) (*models.SimplePage, error)
- func (_m *StorageManager) GetTalk(ctx context.Context, slug string) (*models.Talk, error)
- func (_m *StorageManager) GetTalkCount(ctx context.Context) (int, error)
- func (_m *StorageManager) GetTalks(ctx context.Context, page int) ([]models.Talk, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageManager ¶
StorageManager is an autogenerated mock type for the StorageManager type
func (*StorageManager) GetArticle ¶
GetArticle provides a mock function with given fields: ctx, slug
func (*StorageManager) GetArticleCount ¶
func (_m *StorageManager) GetArticleCount(ctx context.Context) (int, error)
GetArticleCount provides a mock function with given fields: ctx
func (*StorageManager) GetArticles ¶
GetArticles provides a mock function with given fields: ctx, page
func (*StorageManager) GetSimplePage ¶
func (_m *StorageManager) GetSimplePage(ctx context.Context, slug string) (*models.SimplePage, error)
GetSimplePage provides a mock function with given fields: ctx, slug
func (*StorageManager) GetTalkCount ¶
func (_m *StorageManager) GetTalkCount(ctx context.Context) (int, error)
GetTalkCount provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.