schema

package
v0.0.0-...-90870c5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Friendship

type Friendship struct {
	ent.Schema
}

Friendship holds the edge schema definition of the Friendship relationship.

func (Friendship) Edges

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

Edges of the Friendship.

func (Friendship) Fields

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

Fields of the Friendship.

func (Friendship) Indexes

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

Indexes of the Friendship.

func (Friendship) Mixin

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

Mixin defines the schemas that mixed into this schema.

type Group

type Group struct {
	// contains filtered or unexported fields
}

Group holds the schema definition for the Group entity.

func (Group) Annotations

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

Annotations of the base schema.

func (Group) Edges

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

Edges of the Group.

func (Group) Fields

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

Fields of the Group.

type Mixin

type Mixin struct {
	mixin.Schema
}

Mixin holds the default configuration for most schemas in this package.

func (Mixin) Annotations

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

Annotations of the Mixin.

type Pet

type Pet struct {
	ent.Schema
}

Pet holds the schema definition for the Pet entity.

func (Pet) Annotations

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

Annotations of the Pet.

func (Pet) Edges

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

Edges of the Pet.

func (Pet) Fields

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

Fields of the Pet.

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.

func (User) Edges

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

Edges of the User.

func (User) Fields

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

Fields of the User.

Jump to

Keyboard shortcuts

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