Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotateEdges ¶
AnnotateEdges adds edge annotations to underlying mixin edges.
func AnnotateFields ¶
AnnotateFields adds field annotations to underlying mixin fields.
Types ¶
type Schema ¶
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 ¶
func (Schema) Annotations() []schema.Annotation
Annotations of the mixin.
Click to show internal directories.
Click to hide internal directories.