Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDInt32Mixin ¶
IDInt32Mixin is the mixin with int32 type ID field and the created_at, updated_at fields.
func (IDInt32Mixin) Fields ¶
func (IDInt32Mixin) Fields() []ent.Field
type IDInt64Mixin ¶
IDInt64Mixin is the mixin with int64 type ID field and the created_at, updated_at fields.
func (IDInt64Mixin) Fields ¶
func (IDInt64Mixin) Fields() []ent.Field
type IDMixin ¶
IDMixin is the mixin with uint64 type ID field and the created_at, updated_at fields.
type IDUint32Mixin ¶
IDUint32Mixin is the mixin with Uint32 type ID field and the created_at, updated_at fields.
func (IDUint32Mixin) Fields ¶
func (IDUint32Mixin) Fields() []ent.Field
type StateMixin ¶
StateMixin is the mixin with state field which is bool type.
func (StateMixin) Fields ¶
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.