type City struct { ent.Schema }
City holds the schema definition for the City entity.
func (City) Edges() []ent.Edge
Edges of the City.
func (City) Fields() []ent.Field
Fields of the City.
type Street struct { ent.Schema }
Street holds the schema definition for the Street entity.
func (Street) Edges() []ent.Edge
Edges of the Street.
func (Street) Fields() []ent.Field
Fields of the Street.
func (Street) Indexes() []ent.Index
Indexes of the Street.