removed rateLimit from http router requests
improved logging
This commit is contained in:
@@ -247,118 +247,6 @@ func (sc *StatsCreate) SetNillableUdSmoke(u *uint) *StatsCreate {
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetHitGroupHead sets the "hit_group_head" field.
|
||||
func (sc *StatsCreate) SetHitGroupHead(u uint) *StatsCreate {
|
||||
sc.mutation.SetHitGroupHead(u)
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetNillableHitGroupHead sets the "hit_group_head" field if the given value is not nil.
|
||||
func (sc *StatsCreate) SetNillableHitGroupHead(u *uint) *StatsCreate {
|
||||
if u != nil {
|
||||
sc.SetHitGroupHead(*u)
|
||||
}
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetHitGroupChest sets the "hit_group_chest" field.
|
||||
func (sc *StatsCreate) SetHitGroupChest(u uint) *StatsCreate {
|
||||
sc.mutation.SetHitGroupChest(u)
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetNillableHitGroupChest sets the "hit_group_chest" field if the given value is not nil.
|
||||
func (sc *StatsCreate) SetNillableHitGroupChest(u *uint) *StatsCreate {
|
||||
if u != nil {
|
||||
sc.SetHitGroupChest(*u)
|
||||
}
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetHitGroupStomach sets the "hit_group_stomach" field.
|
||||
func (sc *StatsCreate) SetHitGroupStomach(u uint) *StatsCreate {
|
||||
sc.mutation.SetHitGroupStomach(u)
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetNillableHitGroupStomach sets the "hit_group_stomach" field if the given value is not nil.
|
||||
func (sc *StatsCreate) SetNillableHitGroupStomach(u *uint) *StatsCreate {
|
||||
if u != nil {
|
||||
sc.SetHitGroupStomach(*u)
|
||||
}
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetHitGroupLeftArm sets the "hit_group_left_arm" field.
|
||||
func (sc *StatsCreate) SetHitGroupLeftArm(u uint) *StatsCreate {
|
||||
sc.mutation.SetHitGroupLeftArm(u)
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetNillableHitGroupLeftArm sets the "hit_group_left_arm" field if the given value is not nil.
|
||||
func (sc *StatsCreate) SetNillableHitGroupLeftArm(u *uint) *StatsCreate {
|
||||
if u != nil {
|
||||
sc.SetHitGroupLeftArm(*u)
|
||||
}
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetHitGroupRightArm sets the "hit_group_right_arm" field.
|
||||
func (sc *StatsCreate) SetHitGroupRightArm(u uint) *StatsCreate {
|
||||
sc.mutation.SetHitGroupRightArm(u)
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetNillableHitGroupRightArm sets the "hit_group_right_arm" field if the given value is not nil.
|
||||
func (sc *StatsCreate) SetNillableHitGroupRightArm(u *uint) *StatsCreate {
|
||||
if u != nil {
|
||||
sc.SetHitGroupRightArm(*u)
|
||||
}
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetHitGroupLeftLeg sets the "hit_group_left_leg" field.
|
||||
func (sc *StatsCreate) SetHitGroupLeftLeg(u uint) *StatsCreate {
|
||||
sc.mutation.SetHitGroupLeftLeg(u)
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetNillableHitGroupLeftLeg sets the "hit_group_left_leg" field if the given value is not nil.
|
||||
func (sc *StatsCreate) SetNillableHitGroupLeftLeg(u *uint) *StatsCreate {
|
||||
if u != nil {
|
||||
sc.SetHitGroupLeftLeg(*u)
|
||||
}
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetHitGroupRightLeg sets the "hit_group_right_leg" field.
|
||||
func (sc *StatsCreate) SetHitGroupRightLeg(u uint) *StatsCreate {
|
||||
sc.mutation.SetHitGroupRightLeg(u)
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetNillableHitGroupRightLeg sets the "hit_group_right_leg" field if the given value is not nil.
|
||||
func (sc *StatsCreate) SetNillableHitGroupRightLeg(u *uint) *StatsCreate {
|
||||
if u != nil {
|
||||
sc.SetHitGroupRightLeg(*u)
|
||||
}
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetHitGroupGear sets the "hit_group_gear" field.
|
||||
func (sc *StatsCreate) SetHitGroupGear(u uint) *StatsCreate {
|
||||
sc.mutation.SetHitGroupGear(u)
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetNillableHitGroupGear sets the "hit_group_gear" field if the given value is not nil.
|
||||
func (sc *StatsCreate) SetNillableHitGroupGear(u *uint) *StatsCreate {
|
||||
if u != nil {
|
||||
sc.SetHitGroupGear(*u)
|
||||
}
|
||||
return sc
|
||||
}
|
||||
|
||||
// SetCrosshair sets the "crosshair" field.
|
||||
func (sc *StatsCreate) SetCrosshair(s string) *StatsCreate {
|
||||
sc.mutation.SetCrosshair(s)
|
||||
@@ -864,70 +752,6 @@ func (sc *StatsCreate) createSpec() (*Stats, *sqlgraph.CreateSpec) {
|
||||
})
|
||||
_node.UdSmoke = value
|
||||
}
|
||||
if value, ok := sc.mutation.HitGroupHead(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: stats.FieldHitGroupHead,
|
||||
})
|
||||
_node.HitGroupHead = value
|
||||
}
|
||||
if value, ok := sc.mutation.HitGroupChest(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: stats.FieldHitGroupChest,
|
||||
})
|
||||
_node.HitGroupChest = value
|
||||
}
|
||||
if value, ok := sc.mutation.HitGroupStomach(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: stats.FieldHitGroupStomach,
|
||||
})
|
||||
_node.HitGroupStomach = value
|
||||
}
|
||||
if value, ok := sc.mutation.HitGroupLeftArm(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: stats.FieldHitGroupLeftArm,
|
||||
})
|
||||
_node.HitGroupLeftArm = value
|
||||
}
|
||||
if value, ok := sc.mutation.HitGroupRightArm(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: stats.FieldHitGroupRightArm,
|
||||
})
|
||||
_node.HitGroupRightArm = value
|
||||
}
|
||||
if value, ok := sc.mutation.HitGroupLeftLeg(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: stats.FieldHitGroupLeftLeg,
|
||||
})
|
||||
_node.HitGroupLeftLeg = value
|
||||
}
|
||||
if value, ok := sc.mutation.HitGroupRightLeg(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: stats.FieldHitGroupRightLeg,
|
||||
})
|
||||
_node.HitGroupRightLeg = value
|
||||
}
|
||||
if value, ok := sc.mutation.HitGroupGear(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: stats.FieldHitGroupGear,
|
||||
})
|
||||
_node.HitGroupGear = value
|
||||
}
|
||||
if value, ok := sc.mutation.Crosshair(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeString,
|
||||
|
Reference in New Issue
Block a user