Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterEdges ¶ added in v0.3.0
Types ¶
type Friendship ¶ added in v0.3.0
Friendship holds the edge schema definition of the Friendship relationship.
func (Friendship) Edges ¶ added in v0.3.0
func (Friendship) Edges() []ent.Edge
Edges of the Friendship.
func (Friendship) Fields ¶ added in v0.3.0
func (Friendship) Fields() []ent.Field
Fields of the Friendship.
type Group ¶ added in v0.3.0
Group holds the schema definition for the Group entity.
func (Group) Annotations ¶ added in v0.3.0
func (Group) Annotations() []schema.Annotation
Annotations returns Group annotations.
type Todo ¶
Todo defines the todo type schema.
func (Todo) Annotations ¶ added in v0.3.0
func (Todo) Annotations() []schema.Annotation
Annotations returns Todo annotations.
type User ¶ added in v0.3.0
User holds the schema definition for the User entity.
func (User) Annotations ¶ added in v0.3.0
func (User) Annotations() []schema.Annotation
Annotations returns User annotations.
type VerySecret ¶
VerySecret defines the very secret type schema.
func (VerySecret) Annotations ¶
func (VerySecret) Annotations() []schema.Annotation
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package schematype provides custom types for ent/schema.
|
Package schematype provides custom types for ent/schema. |
Click to show internal directories.
Click to hide internal directories.