schema

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Galaxy

type Galaxy struct {
	ent.Schema
}

Galaxy defines the schema of a galaxy.

func (Galaxy) Edges

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

Edges of the galaxy.

func (Galaxy) Fields

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

Fields of the galaxy.

func (Galaxy) Policy

func (Galaxy) Policy() ent.Policy

type Planet

type Planet struct {
	ent.Schema
}

Planet defines the schema of a planet.

func (Planet) Edges

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

func (Planet) Fields

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

func (Planet) Hooks

func (Planet) Hooks() []ent.Hook

func (Planet) Policy

func (Planet) Policy() ent.Policy

Jump to

Keyboard shortcuts

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