schema

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL