schema

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	ent.Schema
}

Image holds the schema definition for the Image entity.

func (Image) Edges

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

Edges of the Image.

func (Image) Fields

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

Fields of the Image.

func (Image) Mixin

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

Mixin of the Image.

type ImageMixin

type ImageMixin struct {
	entMixin.Schema
}

ImageMixin defines Fields.

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Edges

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

Edges of the User.

func (User) Fields

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

Fields of the User.

func (User) Mixin

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

Mixin of the User.

type UserMixin

type UserMixin struct {
	entMixin.Schema
}

UserMixin defines Fields.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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