add initial application structure with configuration, logging, and health check endpoints
This commit is contained in:
@@ -134,14 +134,14 @@ func RawJSON(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEQ(FieldRawJSON, v))
|
||||
}
|
||||
|
||||
// SetContentJSON applies equality check predicate on the "set_content_json" field. It's identical to SetContentJSONEQ.
|
||||
func SetContentJSON(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEQ(FieldSetContentJSON, v))
|
||||
// ContentJSONSet applies equality check predicate on the "content_json_set" field. It's identical to ContentJSONSetEQ.
|
||||
func ContentJSONSet(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEQ(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetUpdateTime applies equality check predicate on the "set_update_time" field. It's identical to SetUpdateTimeEQ.
|
||||
func SetUpdateTime(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEQ(FieldSetUpdateTime, v))
|
||||
// UpdateTimeSet applies equality check predicate on the "update_time_set" field. It's identical to UpdateTimeSetEQ.
|
||||
func UpdateTimeSet(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEQ(FieldUpdateTimeSet, v))
|
||||
}
|
||||
|
||||
// HeroNameEQ applies the EQ predicate on the "hero_name" field.
|
||||
@@ -1099,119 +1099,119 @@ func RawJSONContainsFold(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldRawJSON, v))
|
||||
}
|
||||
|
||||
// SetContentJSONEQ applies the EQ predicate on the "set_content_json" field.
|
||||
func SetContentJSONEQ(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEQ(FieldSetContentJSON, v))
|
||||
// ContentJSONSetEQ applies the EQ predicate on the "content_json_set" field.
|
||||
func ContentJSONSetEQ(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEQ(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONNEQ applies the NEQ predicate on the "set_content_json" field.
|
||||
func SetContentJSONNEQ(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldSetContentJSON, v))
|
||||
// ContentJSONSetNEQ applies the NEQ predicate on the "content_json_set" field.
|
||||
func ContentJSONSetNEQ(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONIn applies the In predicate on the "set_content_json" field.
|
||||
func SetContentJSONIn(vs ...string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldIn(FieldSetContentJSON, vs...))
|
||||
// ContentJSONSetIn applies the In predicate on the "content_json_set" field.
|
||||
func ContentJSONSetIn(vs ...string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldIn(FieldContentJSONSet, vs...))
|
||||
}
|
||||
|
||||
// SetContentJSONNotIn applies the NotIn predicate on the "set_content_json" field.
|
||||
func SetContentJSONNotIn(vs ...string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldSetContentJSON, vs...))
|
||||
// ContentJSONSetNotIn applies the NotIn predicate on the "content_json_set" field.
|
||||
func ContentJSONSetNotIn(vs ...string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldContentJSONSet, vs...))
|
||||
}
|
||||
|
||||
// SetContentJSONGT applies the GT predicate on the "set_content_json" field.
|
||||
func SetContentJSONGT(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldGT(FieldSetContentJSON, v))
|
||||
// ContentJSONSetGT applies the GT predicate on the "content_json_set" field.
|
||||
func ContentJSONSetGT(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldGT(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONGTE applies the GTE predicate on the "set_content_json" field.
|
||||
func SetContentJSONGTE(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldGTE(FieldSetContentJSON, v))
|
||||
// ContentJSONSetGTE applies the GTE predicate on the "content_json_set" field.
|
||||
func ContentJSONSetGTE(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldGTE(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONLT applies the LT predicate on the "set_content_json" field.
|
||||
func SetContentJSONLT(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldLT(FieldSetContentJSON, v))
|
||||
// ContentJSONSetLT applies the LT predicate on the "content_json_set" field.
|
||||
func ContentJSONSetLT(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldLT(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONLTE applies the LTE predicate on the "set_content_json" field.
|
||||
func SetContentJSONLTE(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldLTE(FieldSetContentJSON, v))
|
||||
// ContentJSONSetLTE applies the LTE predicate on the "content_json_set" field.
|
||||
func ContentJSONSetLTE(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldLTE(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONContains applies the Contains predicate on the "set_content_json" field.
|
||||
func SetContentJSONContains(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldContains(FieldSetContentJSON, v))
|
||||
// ContentJSONSetContains applies the Contains predicate on the "content_json_set" field.
|
||||
func ContentJSONSetContains(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldContains(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONHasPrefix applies the HasPrefix predicate on the "set_content_json" field.
|
||||
func SetContentJSONHasPrefix(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldSetContentJSON, v))
|
||||
// ContentJSONSetHasPrefix applies the HasPrefix predicate on the "content_json_set" field.
|
||||
func ContentJSONSetHasPrefix(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONHasSuffix applies the HasSuffix predicate on the "set_content_json" field.
|
||||
func SetContentJSONHasSuffix(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldSetContentJSON, v))
|
||||
// ContentJSONSetHasSuffix applies the HasSuffix predicate on the "content_json_set" field.
|
||||
func ContentJSONSetHasSuffix(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONEqualFold applies the EqualFold predicate on the "set_content_json" field.
|
||||
func SetContentJSONEqualFold(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldSetContentJSON, v))
|
||||
// ContentJSONSetEqualFold applies the EqualFold predicate on the "content_json_set" field.
|
||||
func ContentJSONSetEqualFold(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetContentJSONContainsFold applies the ContainsFold predicate on the "set_content_json" field.
|
||||
func SetContentJSONContainsFold(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldSetContentJSON, v))
|
||||
// ContentJSONSetContainsFold applies the ContainsFold predicate on the "content_json_set" field.
|
||||
func ContentJSONSetContainsFold(v string) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldContentJSONSet, v))
|
||||
}
|
||||
|
||||
// SetUpdateTimeEQ applies the EQ predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeEQ(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEQ(FieldSetUpdateTime, v))
|
||||
// UpdateTimeSetEQ applies the EQ predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetEQ(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldEQ(FieldUpdateTimeSet, v))
|
||||
}
|
||||
|
||||
// SetUpdateTimeNEQ applies the NEQ predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeNEQ(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldSetUpdateTime, v))
|
||||
// UpdateTimeSetNEQ applies the NEQ predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetNEQ(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldUpdateTimeSet, v))
|
||||
}
|
||||
|
||||
// SetUpdateTimeIn applies the In predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeIn(vs ...time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldIn(FieldSetUpdateTime, vs...))
|
||||
// UpdateTimeSetIn applies the In predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetIn(vs ...time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldIn(FieldUpdateTimeSet, vs...))
|
||||
}
|
||||
|
||||
// SetUpdateTimeNotIn applies the NotIn predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeNotIn(vs ...time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldSetUpdateTime, vs...))
|
||||
// UpdateTimeSetNotIn applies the NotIn predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetNotIn(vs ...time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldUpdateTimeSet, vs...))
|
||||
}
|
||||
|
||||
// SetUpdateTimeGT applies the GT predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeGT(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldGT(FieldSetUpdateTime, v))
|
||||
// UpdateTimeSetGT applies the GT predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetGT(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldGT(FieldUpdateTimeSet, v))
|
||||
}
|
||||
|
||||
// SetUpdateTimeGTE applies the GTE predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeGTE(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldGTE(FieldSetUpdateTime, v))
|
||||
// UpdateTimeSetGTE applies the GTE predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetGTE(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldGTE(FieldUpdateTimeSet, v))
|
||||
}
|
||||
|
||||
// SetUpdateTimeLT applies the LT predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeLT(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldLT(FieldSetUpdateTime, v))
|
||||
// UpdateTimeSetLT applies the LT predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetLT(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldLT(FieldUpdateTimeSet, v))
|
||||
}
|
||||
|
||||
// SetUpdateTimeLTE applies the LTE predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeLTE(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldLTE(FieldSetUpdateTime, v))
|
||||
// UpdateTimeSetLTE applies the LTE predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetLTE(v time.Time) predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldLTE(FieldUpdateTimeSet, v))
|
||||
}
|
||||
|
||||
// SetUpdateTimeIsNil applies the IsNil predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeIsNil() predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldIsNull(FieldSetUpdateTime))
|
||||
// UpdateTimeSetIsNil applies the IsNil predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetIsNil() predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldIsNull(FieldUpdateTimeSet))
|
||||
}
|
||||
|
||||
// SetUpdateTimeNotNil applies the NotNil predicate on the "set_update_time" field.
|
||||
func SetUpdateTimeNotNil() predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNotNull(FieldSetUpdateTime))
|
||||
// UpdateTimeSetNotNil applies the NotNil predicate on the "update_time_set" field.
|
||||
func UpdateTimeSetNotNil() predicate.EpicHeroInfo {
|
||||
return predicate.EpicHeroInfo(sql.FieldNotNull(FieldUpdateTimeSet))
|
||||
}
|
||||
|
||||
// And groups predicates with the AND operator between them.
|
||||
|
||||
Reference in New Issue
Block a user