schema

package
v0.0.0-...-ee0d296 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 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 Like

type Like struct {
	ent.Schema
}

Like holds the edge schema definition for the Like edge.

func (Like) Annotations

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

func (Like) Edges

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

Edges of the Like.

func (Like) Fields

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

Fields of the Like.

func (Like) Mixin

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

func (Like) Policy

func (Like) Policy() ent.Policy

type Tweet

type Tweet struct {
	ent.Schema
}

Tweet holds the schema definition for the Tweet entity.

func (Tweet) Annotations

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

func (Tweet) Edges

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

Edges of the Tweet.

func (Tweet) Fields

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

Fields of the Tweet.

func (Tweet) Policy

func (Tweet) Policy() ent.Policy

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations

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

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

func (User) Policy() ent.Policy

Jump to

Keyboard shortcuts

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