schema

package
v0.0.0-...-fc31239 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 5 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 schema definition for the Like entity.

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.

type Tweet

type Tweet struct {
	ent.Schema
}

Tweet holds the schema definition for the Tweet entity.

func (Tweet) Edges

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

Edges of the Tweet.

func (Tweet) Fields

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

Fields of the Tweet.

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.

Jump to

Keyboard shortcuts

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