Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceMixin ¶
ResourceMixin is an Ent mixin that adds the resource field to an entity.
func (ResourceMixin) Fields ¶
func (ResourceMixin) Fields() []ent.Field
Fields returns the fields of the ResourceMixin.
* id: The unique identifier of the resource. * state: The state of the resource. * created_at: The time when the resource was created. * updated_at: The time when the resource was last updated.
Click to show internal directories.
Click to hide internal directories.