added spray patterns
This commit is contained in:
15
ent/tx.go
15
ent/tx.go
@@ -14,14 +14,16 @@ type Tx struct {
|
||||
config
|
||||
// Match is the client for interacting with the Match builders.
|
||||
Match *MatchClient
|
||||
// MatchPlayer is the client for interacting with the MatchPlayer builders.
|
||||
MatchPlayer *MatchPlayerClient
|
||||
// Player is the client for interacting with the Player builders.
|
||||
Player *PlayerClient
|
||||
// RoundStats is the client for interacting with the RoundStats builders.
|
||||
RoundStats *RoundStatsClient
|
||||
// Stats is the client for interacting with the Stats builders.
|
||||
Stats *StatsClient
|
||||
// WeaponStats is the client for interacting with the WeaponStats builders.
|
||||
WeaponStats *WeaponStatsClient
|
||||
// Spray is the client for interacting with the Spray builders.
|
||||
Spray *SprayClient
|
||||
// Weapon is the client for interacting with the Weapon builders.
|
||||
Weapon *WeaponClient
|
||||
|
||||
// lazily loaded.
|
||||
client *Client
|
||||
@@ -158,10 +160,11 @@ func (tx *Tx) Client() *Client {
|
||||
|
||||
func (tx *Tx) init() {
|
||||
tx.Match = NewMatchClient(tx.config)
|
||||
tx.MatchPlayer = NewMatchPlayerClient(tx.config)
|
||||
tx.Player = NewPlayerClient(tx.config)
|
||||
tx.RoundStats = NewRoundStatsClient(tx.config)
|
||||
tx.Stats = NewStatsClient(tx.config)
|
||||
tx.WeaponStats = NewWeaponStatsClient(tx.config)
|
||||
tx.Spray = NewSprayClient(tx.config)
|
||||
tx.Weapon = NewWeaponClient(tx.config)
|
||||
}
|
||||
|
||||
// txDriver wraps the given dialect.Tx with a nop dialect.Driver implementation.
|
||||
|
Reference in New Issue
Block a user