chore: update the package name (github.com/tribalwarshelp/cron -> github.com/tribalwarshelp/dataupdater)

This commit is contained in:
Dawid Wysokiński 2021-07-11 11:37:39 +02:00
parent 5bbe01fff6
commit 14a7b6a5bc
7 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
# datafetcher
# dataupdater
- Adds automatically new servers.
- Adds new servers automatically.
- Fetches and updates server data (players, tribes, ODA, ODD, ODS, OD, conquers, configs).
- Saves daily player/tribe stats, player/tribe history, tribe changes, player name changes, server stats.
- Clears database from old player/tribe stats, player/tribe history.

View File

@ -8,10 +8,10 @@ import (
"os/signal"
"syscall"
"github.com/tribalwarshelp/cron/cmd/internal"
twhelpcron "github.com/tribalwarshelp/cron/pkg/cron"
"github.com/tribalwarshelp/cron/pkg/postgres"
"github.com/tribalwarshelp/cron/pkg/queue"
"github.com/tribalwarshelp/dataupdater/cmd/internal"
twhelpcron "github.com/tribalwarshelp/dataupdater/pkg/cron"
"github.com/tribalwarshelp/dataupdater/pkg/postgres"
"github.com/tribalwarshelp/dataupdater/pkg/queue"
)
func main() {

View File

@ -9,9 +9,9 @@ import (
"os/signal"
"syscall"
"github.com/tribalwarshelp/cron/cmd/internal"
"github.com/tribalwarshelp/cron/pkg/postgres"
"github.com/tribalwarshelp/cron/pkg/queue"
"github.com/tribalwarshelp/dataupdater/cmd/internal"
"github.com/tribalwarshelp/dataupdater/pkg/postgres"
"github.com/tribalwarshelp/dataupdater/pkg/queue"
)
func main() {

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/tribalwarshelp/cron
module github.com/tribalwarshelp/dataupdater
go 1.16

View File

@ -4,7 +4,7 @@ import (
"github.com/go-pg/pg/v10"
"github.com/pkg/errors"
"github.com/tribalwarshelp/cron/pkg/queue"
"github.com/tribalwarshelp/dataupdater/pkg/queue"
)
type Config struct {

View File

@ -10,7 +10,7 @@ import (
"github.com/robfig/cron/v3"
"github.com/tribalwarshelp/cron/pkg/queue"
"github.com/tribalwarshelp/dataupdater/pkg/queue"
)
type Cron struct {

View File

@ -8,7 +8,7 @@ import (
"github.com/tribalwarshelp/shared/tw/twdataloader"
"github.com/tribalwarshelp/shared/tw/twmodel"
"github.com/tribalwarshelp/cron/pkg/postgres"
"github.com/tribalwarshelp/dataupdater/pkg/postgres"
)
type taskLoadServersAndUpdateData struct {