schema

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	ent.Schema
}

Comment holds the schema definition for the Comment entity.

func (Comment) Edges

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

Edges of the Comment.

func (Comment) Fields

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

Fields of the Comment.

type Post

type Post struct {
	ent.Schema
}

Post holds the schema definition for the Post entity.

func (Post) Edges

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

Edges of the Post.

func (Post) Fields

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

Fields of the Post.

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