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 CreateTime ¶
type CreateTime struct{ Schema }
CreateTime adds created at time field.
func (CreateTime) Fields ¶
func (CreateTime) Fields() []fluent.Field
Fields of the create time mixin.
type Schema ¶
type Schema struct{}
Schema is the default implementation for the fluent.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.
func (Schema) Interceptors ¶
func (Schema) Interceptors() []fluent.Interceptor
Interceptors of the schema.
type UpdateTime ¶
type UpdateTime struct{ Schema }
UpdateTime adds updated at time field.
func (UpdateTime) Fields ¶
func (UpdateTime) Fields() []fluent.Field
Fields of the update time mixin.
Click to show internal directories.
Click to hide internal directories.