Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type City

type City struct {
	ent.Schema
}

City holds the schema definition for the City entity.

func (City) Edges

func (City) Edges() []ent.Edge

Edges of the City.

func (City) Fields

func (City) Fields() []ent.Field

Fields of the City.

type Street

type Street struct {
	ent.Schema
}

Street holds the schema definition for the Street entity.

func (Street) Edges

func (Street) Edges() []ent.Edge

Edges of the Street.

func (Street) Fields

func (Street) Fields() []ent.Field

Fields of the Street.

func (Street) Indexes

func (Street) Indexes() []ent.Index

Indexes of the Street.

Source Files