package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Apr 12, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Comment holds the schema definition for the Comment entity.
func (Comment) Fields() []ent.Field
Fields of the Comment.
type Post struct {
ent.Schema
}
Post holds the schema definition for the Post entity.
func (Post) Edges() []ent.Edge
Edges of the Post.
func (Post) Fields() []ent.Field
Fields of the Post.
type User struct {
ent.Schema
}
User holds the schema definition for the User entity.
func (User) Edges() []ent.Edge
Edges of the User.
func (User) Fields() []ent.Field
Fields of the User.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.