schema

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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 Mixin added in v0.5.1

type Mixin struct {
	mixin.Schema
}

func (Mixin) Annotations added in v0.5.1

func (Mixin) Annotations() []schema.Annotation

Annotations of the Mixin schema.

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations added in v0.5.0

func (User) Annotations() []schema.Annotation

Annotations of the User schema.

func (User) Fields added in v0.5.1

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

Fields of the User schema.

func (User) Mixin added in v0.5.1

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

Mixin of the User schema.

Jump to

Keyboard shortcuts

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