Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDMixin ¶ added in v1.0.11
IDMixin is the mixin with uint64 type ID field and the created_at, updated_at fields.
type StateMixin ¶ added in v1.1.1
StateMixin is the mixin with state field which is bool type.
func (StateMixin) Fields ¶ added in v1.1.1
func (StateMixin) Fields() []ent.Field
type StatusMixin ¶
StatusMixin is the mixin with status field which is uint8 type. It is used for multiple status more than 2. You can set more numbers as status.
func (StatusMixin) Fields ¶
func (StatusMixin) Fields() []ent.Field
Click to show internal directories.
Click to hide internal directories.