// Code generated by entc, DO NOT EDIT. package ent import ( "csgowtfd/ent/match" "csgowtfd/ent/player" "csgowtfd/ent/schema" "time" ) // The init function reads all schema descriptors with runtime code // (default values, validators, hooks and policies) and stitches it // to their package variables. func init() { matchFields := schema.Match{}.Fields() _ = matchFields // matchDescDemoParsed is the schema descriptor for demo_parsed field. matchDescDemoParsed := matchFields[10].Descriptor() // match.DefaultDemoParsed holds the default value on creation for the demo_parsed field. match.DefaultDemoParsed = matchDescDemoParsed.Default.(bool) playerFields := schema.Player{}.Fields() _ = playerFields // playerDescVac is the schema descriptor for vac field. playerDescVac := playerFields[5].Descriptor() // player.DefaultVac holds the default value on creation for the vac field. player.DefaultVac = playerDescVac.Default.(bool) // playerDescSteamUpdated is the schema descriptor for steam_updated field. playerDescSteamUpdated := playerFields[8].Descriptor() // player.DefaultSteamUpdated holds the default value on creation for the steam_updated field. player.DefaultSteamUpdated = playerDescSteamUpdated.Default.(func() time.Time) }