schema

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 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.

Jump to

Keyboard shortcuts

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