updated deps; regen ent

This commit is contained in:
2022-11-03 02:19:19 +01:00
parent 4b256dd594
commit ff3bbe0037
44 changed files with 938 additions and 2309 deletions

View File

@@ -34,7 +34,7 @@ func IDNEQ(id uint64) predicate.Match {
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...uint64) predicate.Match {
return predicate.Match(func(s *sql.Selector) {
v := make([]interface{}, len(ids))
v := make([]any, len(ids))
for i := range v {
v[i] = ids[i]
}
@@ -45,7 +45,7 @@ func IDIn(ids ...uint64) predicate.Match {
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...uint64) predicate.Match {
return predicate.Match(func(s *sql.Selector) {
v := make([]interface{}, len(ids))
v := make([]any, len(ids))
for i := range v {
v[i] = ids[i]
}
@@ -195,7 +195,7 @@ func ShareCodeNEQ(v string) predicate.Match {
// ShareCodeIn applies the In predicate on the "share_code" field.
func ShareCodeIn(vs ...string) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -206,7 +206,7 @@ func ShareCodeIn(vs ...string) predicate.Match {
// ShareCodeNotIn applies the NotIn predicate on the "share_code" field.
func ShareCodeNotIn(vs ...string) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -294,7 +294,7 @@ func MapNEQ(v string) predicate.Match {
// MapIn applies the In predicate on the "map" field.
func MapIn(vs ...string) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -305,7 +305,7 @@ func MapIn(vs ...string) predicate.Match {
// MapNotIn applies the NotIn predicate on the "map" field.
func MapNotIn(vs ...string) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -407,7 +407,7 @@ func DateNEQ(v time.Time) predicate.Match {
// DateIn applies the In predicate on the "date" field.
func DateIn(vs ...time.Time) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -418,7 +418,7 @@ func DateIn(vs ...time.Time) predicate.Match {
// DateNotIn applies the NotIn predicate on the "date" field.
func DateNotIn(vs ...time.Time) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -471,7 +471,7 @@ func ScoreTeamANEQ(v int) predicate.Match {
// ScoreTeamAIn applies the In predicate on the "score_team_a" field.
func ScoreTeamAIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -482,7 +482,7 @@ func ScoreTeamAIn(vs ...int) predicate.Match {
// ScoreTeamANotIn applies the NotIn predicate on the "score_team_a" field.
func ScoreTeamANotIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -535,7 +535,7 @@ func ScoreTeamBNEQ(v int) predicate.Match {
// ScoreTeamBIn applies the In predicate on the "score_team_b" field.
func ScoreTeamBIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -546,7 +546,7 @@ func ScoreTeamBIn(vs ...int) predicate.Match {
// ScoreTeamBNotIn applies the NotIn predicate on the "score_team_b" field.
func ScoreTeamBNotIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -599,7 +599,7 @@ func ReplayURLNEQ(v string) predicate.Match {
// ReplayURLIn applies the In predicate on the "replay_url" field.
func ReplayURLIn(vs ...string) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -610,7 +610,7 @@ func ReplayURLIn(vs ...string) predicate.Match {
// ReplayURLNotIn applies the NotIn predicate on the "replay_url" field.
func ReplayURLNotIn(vs ...string) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -712,7 +712,7 @@ func DurationNEQ(v int) predicate.Match {
// DurationIn applies the In predicate on the "duration" field.
func DurationIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -723,7 +723,7 @@ func DurationIn(vs ...int) predicate.Match {
// DurationNotIn applies the NotIn predicate on the "duration" field.
func DurationNotIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -776,7 +776,7 @@ func MatchResultNEQ(v int) predicate.Match {
// MatchResultIn applies the In predicate on the "match_result" field.
func MatchResultIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -787,7 +787,7 @@ func MatchResultIn(vs ...int) predicate.Match {
// MatchResultNotIn applies the NotIn predicate on the "match_result" field.
func MatchResultNotIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -840,7 +840,7 @@ func MaxRoundsNEQ(v int) predicate.Match {
// MaxRoundsIn applies the In predicate on the "max_rounds" field.
func MaxRoundsIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -851,7 +851,7 @@ func MaxRoundsIn(vs ...int) predicate.Match {
// MaxRoundsNotIn applies the NotIn predicate on the "max_rounds" field.
func MaxRoundsNotIn(vs ...int) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -946,7 +946,7 @@ func DecryptionKeyNEQ(v []byte) predicate.Match {
// DecryptionKeyIn applies the In predicate on the "decryption_key" field.
func DecryptionKeyIn(vs ...[]byte) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -957,7 +957,7 @@ func DecryptionKeyIn(vs ...[]byte) predicate.Match {
// DecryptionKeyNotIn applies the NotIn predicate on the "decryption_key" field.
func DecryptionKeyNotIn(vs ...[]byte) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -1024,7 +1024,7 @@ func TickRateNEQ(v float64) predicate.Match {
// TickRateIn applies the In predicate on the "tick_rate" field.
func TickRateIn(vs ...float64) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}
@@ -1035,7 +1035,7 @@ func TickRateIn(vs ...float64) predicate.Match {
// TickRateNotIn applies the NotIn predicate on the "tick_rate" field.
func TickRateNotIn(vs ...float64) predicate.Match {
v := make([]interface{}, len(vs))
v := make([]any, len(vs))
for i := range v {
v[i] = vs[i]
}