MCPcopy Create free account

hub / github.com/defer-panic/news-feed-bot / types & classes

Types & classes29 in github.com/defer-panic/news-feed-bot

↓ 1 callersStructSource
internal/model/model.go:16
StructArticle
internal/model/model.go:24
StructArticlePostgresStorage
internal/storage/article.go:14
InterfaceArticleProvider
internal/notifier/notifier.go:20
InterfaceArticleStorage
go:generate moq --out=mocks/mock_article_storage.go --pkg=mocks . ArticleStorage
internal/fetcher/fetcher.go:17
StructArticleStorageMock
ArticleStorageMock is a mock implementation of fetcher.ArticleStorage. func TestSomethingThatUsesArticleStorage(t *testing.T) { // make and confi
internal/fetcher/mocks/mock_article_storage.go:32
StructBot
internal/botkit/bot.go:12
StructConfig
internal/config/config.go:12
StructFetcher
internal/fetcher/fetcher.go:33
StructItem
internal/model/model.go:7
StructNotifier
internal/notifier/notifier.go:29
StructOpenAISummarizer
internal/summary/openai.go:15
InterfacePrioritySetter
internal/bot/view_cmd_setpriority.go:11
StructRSSSource
internal/source/rss.go:13
InterfaceSource
go:generate moq --out=mocks/mock_source.go --pkg=mocks . Source
internal/fetcher/fetcher.go:27
InterfaceSourceDeleter
internal/bot/view_cmd_deletesource.go:12
InterfaceSourceLister
internal/bot/view_cmd_listsources.go:16
StructSourceMock
SourceMock is a mock implementation of fetcher.Source. func TestSomethingThatUsesSource(t *testing.T) { // make and configure a mocked fetcher.So
internal/fetcher/mocks/mock_source.go:38
StructSourcePostgresStorage
internal/storage/source.go:13
InterfaceSourceProvider
internal/bot/view_cmd_getsource.go:15
InterfaceSourceStorage
internal/bot/view_cmd_addsource.go:13
InterfaceSourcesProvider
go:generate moq --out=mocks/mock_sources_provider.go --pkg=mocks . SourcesProvider
internal/fetcher/fetcher.go:22
StructSourcesProviderMock
SourcesProviderMock is a mock implementation of fetcher.SourcesProvider. func TestSomethingThatUsesSourcesProvider(t *testing.T) { // make and co
internal/fetcher/mocks/mock_sources_provider.go:32
InterfaceSummarizer
internal/notifier/notifier.go:25
FuncTypeViewFunc
func(ctx context.Context, bot *tgbotapi.BotAPI, update tgbotapi.Update) error
internal/botkit/bot.go:82
StructaddSourceArgs
internal/bot/view_cmd_addsource.go:18
StructdbArticleWithPriority
internal/storage/article.go:110
StructdbSource
internal/storage/source.go:104
StructsetPriorityArgs
internal/bot/view_cmd_setpriority.go:16