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.