schema

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 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 Car

type Car struct {
	ent.Schema
}

func (Car) Edges

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

type Group

type Group struct{ ent.Schema }

Group schema.

type Mixin

type Mixin struct {
	mixin.Schema
}

func (Mixin) Fields

func (m Mixin) Fields() []ent.Field

type Pet

type Pet struct {
	ent.Schema
}

Pet schema.

func (Pet) Edges

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

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Edges

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

func (User) Fields

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

Fields of the User.

func (User) Indexes

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

func (User) Mixin

func (User) Mixin() []ent.Mixin

Jump to

Keyboard shortcuts

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