Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterEdges ¶ added in v0.3.0
Types ¶
type BillProduct ¶ added in v0.3.4
BillProduct holds the schema definition for the BillProduct entity.
func (BillProduct) Annotations ¶ added in v0.3.4
func (BillProduct) Annotations() []schema.Annotation
Annotations returns BillProduct annotations.
func (BillProduct) Fields ¶ added in v0.3.4
func (BillProduct) Fields() []ent.Field
Fields of the BillProduct.
type Category ¶
Category holds the schema definition for the Category entity.
func (Category) Annotations ¶ added in v0.3.3
func (Category) Annotations() []schema.Annotation
Annotations returns Todo annotations.
type Friendship ¶ added in v0.3.0
Friendship holds the edge schema definition of the Friendship relationship.
func (Friendship) Annotations ¶ added in v0.3.4
func (Friendship) Annotations() []schema.Annotation
Annotations of the Friendship.
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 OneToMany ¶ added in v0.4.2
OneToMany holds the schema definition for the OneToMany entity.
func (OneToMany) Annotations ¶ added in v0.4.2
func (OneToMany) Annotations() []schema.Annotation
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
type Workspace ¶ added in v0.5.0
Workspace defines the workspace type schema.
func (Workspace) Annotations ¶ added in v0.5.0
func (Workspace) Annotations() []schema.Annotation
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package schematype provides custom types for ent/schema.
|
Package schematype provides custom types for ent/schema. |