replaced old module path in source
This commit is contained in:
@@ -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"
|
||||
|
@@ -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"
|
||||
)
|
||||
|
@@ -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.
|
||||
|
14
ent/ent.go
14
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.
|
||||
|
@@ -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 (
|
||||
|
@@ -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
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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 (
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
16
main.go
16
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"
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user