From ed283c92f372b8342ff7bfa18495ee424d77a65c Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Fri, 3 Mar 2023 20:16:12 +0100 Subject: [PATCH] replaced old module path in source --- csgo/demo_loader.go | 4 ++-- csgo/demo_parser.go | 6 +++--- ent/client.go | 16 ++++++++-------- ent/ent.go | 14 +++++++------- ent/enttest/enttest.go | 6 +++--- ent/hook/hook.go | 2 +- ent/match.go | 2 +- ent/match/where.go | 2 +- ent/match_create.go | 6 +++--- ent/match_delete.go | 4 ++-- ent/match_query.go | 8 ++++---- ent/match_update.go | 8 ++++---- ent/matchplayer.go | 6 +++--- ent/matchplayer/where.go | 2 +- ent/matchplayer_create.go | 14 +++++++------- ent/matchplayer_delete.go | 4 ++-- ent/matchplayer_query.go | 16 ++++++++-------- ent/matchplayer_update.go | 16 ++++++++-------- ent/messages.go | 4 ++-- ent/messages/where.go | 2 +- ent/messages_create.go | 4 ++-- ent/messages_delete.go | 4 ++-- ent/messages_query.go | 6 +++--- ent/messages_update.go | 6 +++--- ent/mutation.go | 16 ++++++++-------- ent/player.go | 2 +- ent/player/where.go | 2 +- ent/player_create.go | 6 +++--- ent/player_delete.go | 4 ++-- ent/player_query.go | 8 ++++---- ent/player_update.go | 8 ++++---- ent/roundstats.go | 4 ++-- ent/roundstats/where.go | 2 +- ent/roundstats_create.go | 4 ++-- ent/roundstats_delete.go | 4 ++-- ent/roundstats_query.go | 6 +++--- ent/roundstats_update.go | 6 +++--- ent/runtime.go | 6 +++--- ent/runtime/runtime.go | 2 +- ent/spray.go | 4 ++-- ent/spray/where.go | 2 +- ent/spray_create.go | 4 ++-- ent/spray_delete.go | 4 ++-- ent/spray_query.go | 6 +++--- ent/spray_update.go | 6 +++--- ent/weapon.go | 4 ++-- ent/weapon/where.go | 2 +- ent/weapon_create.go | 4 ++-- ent/weapon_delete.go | 4 ++-- ent/weapon_query.go | 6 +++--- ent/weapon_update.go | 6 +++--- main.go | 16 ++++++++-------- utils/utils.go | 14 +++++++------- 53 files changed, 162 insertions(+), 162 deletions(-) diff --git a/csgo/demo_loader.go b/csgo/demo_loader.go index 6912760..11c5b0a 100644 --- a/csgo/demo_loader.go +++ b/csgo/demo_loader.go @@ -3,8 +3,6 @@ package csgo import ( "context" "fmt" - "git.harting.dev/csgowtf/csgowtfd/ent" - "git.harting.dev/csgowtf/csgowtfd/utils" "github.com/an0nfunc/go-steam/v3" "github.com/an0nfunc/go-steam/v3/csgo/protocol/protobuf" "github.com/an0nfunc/go-steam/v3/protocol/gamecoordinator" @@ -16,6 +14,8 @@ import ( "golang.org/x/time/rate" "google.golang.org/protobuf/proto" "os" + "somegit.dev/csgowtf/csgowtfd/ent" + "somegit.dev/csgowtf/csgowtfd/utils" "strings" "sync" "time" diff --git a/csgo/demo_parser.go b/csgo/demo_parser.go index c011786..bcd6784 100644 --- a/csgo/demo_parser.go +++ b/csgo/demo_parser.go @@ -7,9 +7,6 @@ import ( "encoding/gob" "errors" "fmt" - "git.harting.dev/csgowtf/csgowtfd/ent" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/utils" "github.com/aclements/go-moremath/stats" "github.com/golang/geo/r2" "github.com/markus-wa/demoinfocs-golang/v3/pkg/demoinfocs" @@ -18,6 +15,9 @@ import ( log "github.com/sirupsen/logrus" "io" "net/http" + "somegit.dev/csgowtf/csgowtfd/ent" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/utils" "strings" "time" ) diff --git a/ent/client.go b/ent/client.go index 3ebb408..c33d6eb 100644 --- a/ent/client.go +++ b/ent/client.go @@ -8,19 +8,19 @@ import ( "fmt" "log" - "git.harting.dev/csgowtf/csgowtfd/ent/migrate" + "somegit.dev/csgowtf/csgowtfd/ent/migrate" "entgo.io/ent" "entgo.io/ent/dialect" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // Client is the client that holds all ent builders. diff --git a/ent/ent.go b/ent/ent.go index b0914bb..02ea85e 100644 --- a/ent/ent.go +++ b/ent/ent.go @@ -11,13 +11,13 @@ import ( "entgo.io/ent" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // ent aliases to avoid import conflicts in user's code. diff --git a/ent/enttest/enttest.go b/ent/enttest/enttest.go index 705bd98..d48d5b2 100644 --- a/ent/enttest/enttest.go +++ b/ent/enttest/enttest.go @@ -5,12 +5,12 @@ package enttest import ( "context" - "git.harting.dev/csgowtf/csgowtfd/ent" + "somegit.dev/csgowtf/csgowtfd/ent" // required by schema hooks. - _ "git.harting.dev/csgowtf/csgowtfd/ent/runtime" + _ "somegit.dev/csgowtf/csgowtfd/ent/runtime" "entgo.io/ent/dialect/sql/schema" - "git.harting.dev/csgowtf/csgowtfd/ent/migrate" + "somegit.dev/csgowtf/csgowtfd/ent/migrate" ) type ( diff --git a/ent/hook/hook.go b/ent/hook/hook.go index 874a0ce..43e6180 100644 --- a/ent/hook/hook.go +++ b/ent/hook/hook.go @@ -6,7 +6,7 @@ import ( "context" "fmt" - "git.harting.dev/csgowtf/csgowtfd/ent" + "somegit.dev/csgowtf/csgowtfd/ent" ) // The MatchFunc type is an adapter to allow the use of ordinary diff --git a/ent/match.go b/ent/match.go index 2701aad..e829b26 100644 --- a/ent/match.go +++ b/ent/match.go @@ -8,7 +8,7 @@ import ( "time" "entgo.io/ent/dialect/sql" - "git.harting.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/match" ) // Match is the model entity for the Match schema. diff --git a/ent/match/where.go b/ent/match/where.go index bacd358..b32b555 100644 --- a/ent/match/where.go +++ b/ent/match/where.go @@ -7,7 +7,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/ent/match_create.go b/ent/match_create.go index 0a07c60..d0c195d 100644 --- a/ent/match_create.go +++ b/ent/match_create.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/player" ) // MatchCreate is the builder for creating a Match entity. diff --git a/ent/match_delete.go b/ent/match_delete.go index 89a0d0e..5261da3 100644 --- a/ent/match_delete.go +++ b/ent/match_delete.go @@ -8,8 +8,8 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // MatchDelete is the builder for deleting a Match entity. diff --git a/ent/match_query.go b/ent/match_query.go index 02cea9b..e222285 100644 --- a/ent/match_query.go +++ b/ent/match_query.go @@ -11,10 +11,10 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // MatchQuery is the builder for querying Match entities. diff --git a/ent/match_update.go b/ent/match_update.go index d65f4f0..7fd43f9 100644 --- a/ent/match_update.go +++ b/ent/match_update.go @@ -11,10 +11,10 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // MatchUpdate is the builder for updating Match entities. diff --git a/ent/matchplayer.go b/ent/matchplayer.go index b12912b..083fbee 100644 --- a/ent/matchplayer.go +++ b/ent/matchplayer.go @@ -7,9 +7,9 @@ import ( "strings" "entgo.io/ent/dialect/sql" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/player" ) // MatchPlayer is the model entity for the MatchPlayer schema. diff --git a/ent/matchplayer/where.go b/ent/matchplayer/where.go index 665c874..7588dec 100644 --- a/ent/matchplayer/where.go +++ b/ent/matchplayer/where.go @@ -5,7 +5,7 @@ package matchplayer import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/ent/matchplayer_create.go b/ent/matchplayer_create.go index 837adab..b31f1dc 100644 --- a/ent/matchplayer_create.go +++ b/ent/matchplayer_create.go @@ -9,13 +9,13 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // MatchPlayerCreate is the builder for creating a MatchPlayer entity. diff --git a/ent/matchplayer_delete.go b/ent/matchplayer_delete.go index ed5dc21..1aeb9f0 100644 --- a/ent/matchplayer_delete.go +++ b/ent/matchplayer_delete.go @@ -8,8 +8,8 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // MatchPlayerDelete is the builder for deleting a MatchPlayer entity. diff --git a/ent/matchplayer_query.go b/ent/matchplayer_query.go index 0240425..f2d66f1 100644 --- a/ent/matchplayer_query.go +++ b/ent/matchplayer_query.go @@ -11,14 +11,14 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // MatchPlayerQuery is the builder for querying MatchPlayer entities. diff --git a/ent/matchplayer_update.go b/ent/matchplayer_update.go index a5b2e48..e506d21 100644 --- a/ent/matchplayer_update.go +++ b/ent/matchplayer_update.go @@ -10,14 +10,14 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // MatchPlayerUpdate is the builder for updating MatchPlayer entities. diff --git a/ent/messages.go b/ent/messages.go index ca8e231..30f17f2 100644 --- a/ent/messages.go +++ b/ent/messages.go @@ -7,8 +7,8 @@ import ( "strings" "entgo.io/ent/dialect/sql" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" ) // Messages is the model entity for the Messages schema. diff --git a/ent/messages/where.go b/ent/messages/where.go index 200f693..1a24808 100644 --- a/ent/messages/where.go +++ b/ent/messages/where.go @@ -5,7 +5,7 @@ package messages import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/ent/messages_create.go b/ent/messages_create.go index 998cd69..35fd8e0 100644 --- a/ent/messages_create.go +++ b/ent/messages_create.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" ) // MessagesCreate is the builder for creating a Messages entity. diff --git a/ent/messages_delete.go b/ent/messages_delete.go index ea2f447..10f773e 100644 --- a/ent/messages_delete.go +++ b/ent/messages_delete.go @@ -8,8 +8,8 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // MessagesDelete is the builder for deleting a Messages entity. diff --git a/ent/messages_query.go b/ent/messages_query.go index 1021c34..d5af79c 100644 --- a/ent/messages_query.go +++ b/ent/messages_query.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // MessagesQuery is the builder for querying Messages entities. diff --git a/ent/messages_update.go b/ent/messages_update.go index 72956e1..4b7cd40 100644 --- a/ent/messages_update.go +++ b/ent/messages_update.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // MessagesUpdate is the builder for updating Messages entities. diff --git a/ent/mutation.go b/ent/mutation.go index fd69fa2..0208fc3 100644 --- a/ent/mutation.go +++ b/ent/mutation.go @@ -11,14 +11,14 @@ import ( "entgo.io/ent" "entgo.io/ent/dialect/sql" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) const ( diff --git a/ent/player.go b/ent/player.go index a221028..cda8d2d 100644 --- a/ent/player.go +++ b/ent/player.go @@ -8,7 +8,7 @@ import ( "time" "entgo.io/ent/dialect/sql" - "git.harting.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/player" ) // Player is the model entity for the Player schema. diff --git a/ent/player/where.go b/ent/player/where.go index a33e2ae..5e43c79 100644 --- a/ent/player/where.go +++ b/ent/player/where.go @@ -7,7 +7,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/ent/player_create.go b/ent/player_create.go index 73a2da9..a97252a 100644 --- a/ent/player_create.go +++ b/ent/player_create.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/player" ) // PlayerCreate is the builder for creating a Player entity. diff --git a/ent/player_delete.go b/ent/player_delete.go index b995e51..2e92629 100644 --- a/ent/player_delete.go +++ b/ent/player_delete.go @@ -8,8 +8,8 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // PlayerDelete is the builder for deleting a Player entity. diff --git a/ent/player_query.go b/ent/player_query.go index a1bda9c..c99a116 100644 --- a/ent/player_query.go +++ b/ent/player_query.go @@ -11,10 +11,10 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // PlayerQuery is the builder for querying Player entities. diff --git a/ent/player_update.go b/ent/player_update.go index 2e38d56..c6a4f64 100644 --- a/ent/player_update.go +++ b/ent/player_update.go @@ -11,10 +11,10 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // PlayerUpdate is the builder for updating Player entities. diff --git a/ent/roundstats.go b/ent/roundstats.go index 1f716f2..a1282a1 100644 --- a/ent/roundstats.go +++ b/ent/roundstats.go @@ -7,8 +7,8 @@ import ( "strings" "entgo.io/ent/dialect/sql" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" ) // RoundStats is the model entity for the RoundStats schema. diff --git a/ent/roundstats/where.go b/ent/roundstats/where.go index c97fccc..96b7a97 100644 --- a/ent/roundstats/where.go +++ b/ent/roundstats/where.go @@ -5,7 +5,7 @@ package roundstats import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/ent/roundstats_create.go b/ent/roundstats_create.go index edd6ca3..fb194e8 100644 --- a/ent/roundstats_create.go +++ b/ent/roundstats_create.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" ) // RoundStatsCreate is the builder for creating a RoundStats entity. diff --git a/ent/roundstats_delete.go b/ent/roundstats_delete.go index 8edaa27..ae953c6 100644 --- a/ent/roundstats_delete.go +++ b/ent/roundstats_delete.go @@ -8,8 +8,8 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" ) // RoundStatsDelete is the builder for deleting a RoundStats entity. diff --git a/ent/roundstats_query.go b/ent/roundstats_query.go index 7e3fa9d..2a03ba3 100644 --- a/ent/roundstats_query.go +++ b/ent/roundstats_query.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" ) // RoundStatsQuery is the builder for querying RoundStats entities. diff --git a/ent/roundstats_update.go b/ent/roundstats_update.go index 5085870..bef52a9 100644 --- a/ent/roundstats_update.go +++ b/ent/roundstats_update.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" ) // RoundStatsUpdate is the builder for updating RoundStats entities. diff --git a/ent/runtime.go b/ent/runtime.go index f99d81e..340d6d7 100644 --- a/ent/runtime.go +++ b/ent/runtime.go @@ -5,9 +5,9 @@ package ent import ( "time" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/schema" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/schema" ) // The init function reads all schema descriptors with runtime code diff --git a/ent/runtime/runtime.go b/ent/runtime/runtime.go index 515265b..e3537cc 100644 --- a/ent/runtime/runtime.go +++ b/ent/runtime/runtime.go @@ -2,7 +2,7 @@ package runtime -// The schema-stitching logic is generated in git.harting.dev/csgowtf/csgowtfd/ent/runtime.go +// The schema-stitching logic is generated in somegit.dev/csgowtf/csgowtfd/ent/runtime.go const ( Version = "v0.11.9" // Version of ent codegen. diff --git a/ent/spray.go b/ent/spray.go index 7ac1ba6..154db48 100644 --- a/ent/spray.go +++ b/ent/spray.go @@ -7,8 +7,8 @@ import ( "strings" "entgo.io/ent/dialect/sql" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/spray" ) // Spray is the model entity for the Spray schema. diff --git a/ent/spray/where.go b/ent/spray/where.go index 8862f52..ae93640 100644 --- a/ent/spray/where.go +++ b/ent/spray/where.go @@ -5,7 +5,7 @@ package spray import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/ent/spray_create.go b/ent/spray_create.go index 51bf99e..1d525d1 100644 --- a/ent/spray_create.go +++ b/ent/spray_create.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/spray" ) // SprayCreate is the builder for creating a Spray entity. diff --git a/ent/spray_delete.go b/ent/spray_delete.go index 37b13c9..58bb762 100644 --- a/ent/spray_delete.go +++ b/ent/spray_delete.go @@ -8,8 +8,8 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/spray" ) // SprayDelete is the builder for deleting a Spray entity. diff --git a/ent/spray_query.go b/ent/spray_query.go index da732ea..7981a0c 100644 --- a/ent/spray_query.go +++ b/ent/spray_query.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/spray" ) // SprayQuery is the builder for querying Spray entities. diff --git a/ent/spray_update.go b/ent/spray_update.go index c5d0030..fd6a12a 100644 --- a/ent/spray_update.go +++ b/ent/spray_update.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/spray" ) // SprayUpdate is the builder for updating Spray entities. diff --git a/ent/weapon.go b/ent/weapon.go index b3d7825..9cbcaf7 100644 --- a/ent/weapon.go +++ b/ent/weapon.go @@ -7,8 +7,8 @@ import ( "strings" "entgo.io/ent/dialect/sql" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // Weapon is the model entity for the Weapon schema. diff --git a/ent/weapon/where.go b/ent/weapon/where.go index b608e7c..6dada77 100644 --- a/ent/weapon/where.go +++ b/ent/weapon/where.go @@ -5,7 +5,7 @@ package weapon import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/ent/weapon_create.go b/ent/weapon_create.go index e53d350..c7d06bf 100644 --- a/ent/weapon_create.go +++ b/ent/weapon_create.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // WeaponCreate is the builder for creating a Weapon entity. diff --git a/ent/weapon_delete.go b/ent/weapon_delete.go index 714a2a9..1d0bd3e 100644 --- a/ent/weapon_delete.go +++ b/ent/weapon_delete.go @@ -8,8 +8,8 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // WeaponDelete is the builder for deleting a Weapon entity. diff --git a/ent/weapon_query.go b/ent/weapon_query.go index fa23882..38f0e48 100644 --- a/ent/weapon_query.go +++ b/ent/weapon_query.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // WeaponQuery is the builder for querying Weapon entities. diff --git a/ent/weapon_update.go b/ent/weapon_update.go index df1da06..7a553f5 100644 --- a/ent/weapon_update.go +++ b/ent/weapon_update.go @@ -10,9 +10,9 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/predicate" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/predicate" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" ) // WeaponUpdate is the builder for updating Weapon entities. diff --git a/main.go b/main.go index aa9812b..5deebe7 100644 --- a/main.go +++ b/main.go @@ -9,14 +9,6 @@ import ( "errors" "flag" "fmt" - "git.harting.dev/csgowtf/csgowtfd/csgo" - "git.harting.dev/csgowtf/csgowtfd/ent" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/messages" - "git.harting.dev/csgowtf/csgowtfd/ent/migrate" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/utils" "github.com/gin-contrib/cors" "github.com/gin-gonic/gin" "github.com/go-redis/cache/v8" @@ -33,6 +25,14 @@ import ( "os" "os/signal" "somegit.dev/anonfunc/gositemap" + "somegit.dev/csgowtf/csgowtfd/csgo" + "somegit.dev/csgowtf/csgowtfd/ent" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/messages" + "somegit.dev/csgowtf/csgowtfd/ent/migrate" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/utils" "strconv" "strings" "syscall" diff --git a/utils/utils.go b/utils/utils.go index 7a6bc67..7ccef2b 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -6,13 +6,6 @@ import ( "entgo.io/ent/dialect/sql" "errors" "fmt" - "git.harting.dev/csgowtf/csgowtfd/ent" - "git.harting.dev/csgowtf/csgowtfd/ent/match" - "git.harting.dev/csgowtf/csgowtfd/ent/matchplayer" - "git.harting.dev/csgowtf/csgowtfd/ent/player" - "git.harting.dev/csgowtf/csgowtfd/ent/roundstats" - "git.harting.dev/csgowtf/csgowtfd/ent/spray" - "git.harting.dev/csgowtf/csgowtfd/ent/weapon" "github.com/an0nfunc/go-steamapi" log "github.com/sirupsen/logrus" "golang.org/x/time/rate" @@ -22,6 +15,13 @@ import ( "net/url" "path" "regexp" + "somegit.dev/csgowtf/csgowtfd/ent" + "somegit.dev/csgowtf/csgowtfd/ent/match" + "somegit.dev/csgowtf/csgowtfd/ent/matchplayer" + "somegit.dev/csgowtf/csgowtfd/ent/player" + "somegit.dev/csgowtf/csgowtfd/ent/roundstats" + "somegit.dev/csgowtf/csgowtfd/ent/spray" + "somegit.dev/csgowtf/csgowtfd/ent/weapon" "sort" "strconv" "strings"