Skip to content

Commit

Permalink
upgrade module to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisgeoffrey committed Apr 16, 2022
1 parent 2c37c75 commit 4c0f8da
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions cmd/aoe4elobot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"os/signal"
"syscall"

"github.com/alexisgeoffrey/aoe4elobot/internal/config"
"github.com/alexisgeoffrey/aoe4elobot/internal/db"
"github.com/alexisgeoffrey/aoe4elobot/internal/discordapi"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/config"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/db"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/discordapi"
"github.com/bwmarrin/discordgo"
"github.com/robfig/cron/v3"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/aoe4elobot/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

"github.com/alexisgeoffrey/aoe4elobot/internal/discordapi"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/discordapi"
"github.com/bwmarrin/discordgo"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/alexisgeoffrey/aoe4elobot
module github.com/alexisgeoffrey/aoe4elobot/v2

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion internal/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/alexisgeoffrey/aoe4elobot/internal/config"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/config"
"github.com/jackc/pgtype"
"github.com/jackc/pgx/v4/pgxpool"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/db/elostring.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/alexisgeoffrey/aoe4elobot/internal/config"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/config"
)

func (elo *UserElo) GenerateEloString(name string) string {
Expand Down
4 changes: 2 additions & 2 deletions internal/discordapi/discordapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"sync"

"github.com/alexisgeoffrey/aoe4elobot/internal/config"
"github.com/alexisgeoffrey/aoe4elobot/internal/db"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/config"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/db"
"github.com/bwmarrin/discordgo"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/discordapi/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sync"

"github.com/alexisgeoffrey/aoe4api"
"github.com/alexisgeoffrey/aoe4elobot/internal/config"
"github.com/alexisgeoffrey/aoe4elobot/internal/db"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/config"
"github.com/alexisgeoffrey/aoe4elobot/v2/internal/db"
"github.com/bwmarrin/discordgo"
)

Expand Down

0 comments on commit 4c0f8da

Please sign in to comment.