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