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