import "github.com/facebookincubator/ent/schema/mixin"
AnnotateEdges adds edge annotations to underlying mixin edges.
AnnotateFields adds field annotations to underlying mixin fields.
CreateTime adds created at time field.
func (CreateTime) Fields() []ent.Field
Fields of the create time mixin.
type Schema struct{}
Schema is the default implementation for the ent.Mixin interface. It should be embedded in end-user mixin as follows:
type M struct { mixin.Schema }
func (Schema) Annotations() []schema.Annotation
Annotations of the mixin.
Edges of the mixin.
Fields of the mixin.
Hooks of the mixin.
Indexes of the mixin.
Policy of the mixin.
Time composes create/update time mixin.
Fields of the time mixin.
UpdateTime adds updated at time field.
func (UpdateTime) Fields() []ent.Field
Fields of the update time mixin.
Package mixin imports 4 packages (graph). Updated 2020-11-24. Refresh now. Tools for package owners.