schema

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 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 DeleteMixin

type DeleteMixin struct {
	mixin.Schema
}

func (DeleteMixin) Fields

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

type Profile

type Profile struct {
	ent.Schema
}

Profile holds the schema definition for the Profile entity.

func (Profile) Edges

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

Edges of the Profile.

func (Profile) Fields

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

Fields of the Profile.

func (Profile) Indexes

func (Profile) Indexes() []ent.Index

Indexes of Profile entity.

func (Profile) Mixin

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

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) Indexes

func (User) Indexes() []ent.Index

Indexes of user entity.

func (User) Mixin

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

Jump to

Keyboard shortcuts

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