schema

package
Version: v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 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

type Mixin struct {
	mixin.Schema
}

func (Mixin) Annotations

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

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

Annotations of the User schema.

func (User) Fields

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

Fields of the User schema.

func (User) Mixin

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

Mixin of the User schema.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL