Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseIDMixin ¶ added in v0.2.9
type BaseIDMixin struct { // We embed the `mixin.Schema` to avoid // implementing the rest of the methods. mixin.Schema }
BaseIDMixin implements the ent.Mixin for sharing base fields with package schemas.
func (BaseIDMixin) Fields ¶ added in v0.2.9
func (BaseIDMixin) Fields() []ent.Field
type SortMixin ¶
type SortMixin struct { // We embed the `mixin.Schema` to avoid // implementing the rest of the methods. mixin.Schema }
SortMixin implements the ent.Mixin for sharing sort fields with package schemas.
type StatusMixin ¶
StatusMixin implements the ent.Mixin for sharing status fields with package schemas.
func (StatusMixin) Fields ¶
func (StatusMixin) Fields() []ent.Field
Click to show internal directories.
Click to hide internal directories.