• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

orgball2608 / insta-parser-telegram-bot / 15365398426

31 May 2025 04:13PM UTC coverage: 0.0%. Remained the same
15365398426

push

github

web-flow
Improve: Code base (#1)

* improve: codebase

* fix: test ci

* feat: change config

* feat: support get current story command

0 of 822 new or added lines in 15 files covered. (0.0%)

11 existing lines in 4 files now uncovered.

0 of 1424 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/internal/parser/paserimpl/impl.go
1
package paserimpl
2

3
import (
4
        "github.com/orgball2608/insta-parser-telegram-bot/internal/instagram"
5
        "github.com/orgball2608/insta-parser-telegram-bot/internal/parser"
6
        "github.com/orgball2608/insta-parser-telegram-bot/internal/repositories/currentstory"
7
        "github.com/orgball2608/insta-parser-telegram-bot/internal/repositories/highlights"
8
        "github.com/orgball2608/insta-parser-telegram-bot/internal/repositories/story"
9
        "github.com/orgball2608/insta-parser-telegram-bot/internal/telegram"
10
        "github.com/orgball2608/insta-parser-telegram-bot/pkg/config"
11
        "github.com/orgball2608/insta-parser-telegram-bot/pkg/logger"
12
        "go.uber.org/fx"
13
)
14

15
type Opts struct {
16
        fx.In
17

18
        Instagram        instagram.Client
19
        Telegram         telegram.Client
20
        StoryRepo        story.Repository
21
        HighlightsRepo   highlights.Repository
22
        CurrentStoryRepo currentstory.Repository
23
        Logger           logger.Logger
24
        Config           *config.Config
25
}
26

27
type ParserImpl struct {
28
        Instagram        instagram.Client
29
        Telegram         telegram.Client
30
        StoryRepo        story.Repository
31
        HighlightsRepo   highlights.Repository
32
        CurrentStoryRepo currentstory.Repository
33
        Logger           logger.Logger
34
        Config           *config.Config
35
}
36

37
func New(opts Opts) *ParserImpl {
×
38
        return &ParserImpl{
×
NEW
39
                Instagram:        opts.Instagram,
×
NEW
40
                Telegram:         opts.Telegram,
×
NEW
41
                StoryRepo:        opts.StoryRepo,
×
NEW
42
                HighlightsRepo:   opts.HighlightsRepo,
×
NEW
43
                CurrentStoryRepo: opts.CurrentStoryRepo,
×
NEW
44
                Logger:           opts.Logger,
×
NEW
45
                Config:           opts.Config,
×
46
        }
×
47
}
×
48

49
var _ parser.Client = (*ParserImpl)(nil)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc