Skip to content

Commit

Permalink
chore: change name of db package in main file
Browse files Browse the repository at this point in the history
  • Loading branch information
Satont committed Apr 8, 2023
1 parent 37a1623 commit 9d260b4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/lib/pq"
"github.com/satont/twitch-notifier/ent"
"github.com/satont/twitch-notifier/internal/config"
db2 "github.com/satont/twitch-notifier/internal/db"
"github.com/satont/twitch-notifier/internal/db"
"github.com/satont/twitch-notifier/internal/message_sender"
"github.com/satont/twitch-notifier/internal/telegram"
"github.com/satont/twitch-notifier/internal/twitch"
Expand Down Expand Up @@ -65,10 +65,10 @@ func main() {
services := &types.Services{
Config: cfg,
Twitch: twitchService,
Chat: db2.NewChatEntRepository(client),
Channel: db2.NewChannelEntService(client),
Follow: db2.NewFollowService(client),
Stream: db2.NewStreamEntService(client),
Chat: db.NewChatEntRepository(client),
Channel: db.NewChannelEntService(client),
Follow: db.NewFollowService(client),
Stream: db.NewStreamEntService(client),
I18N: i18,
}

Expand Down

0 comments on commit 9d260b4

Please sign in to comment.