package
Version:
v0.2.7
Opens a new window with list of versions in this module.
Published: Jul 16, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateTime struct{ Schema }
CreateTime adds created at time field.
Fields of the create time mixin.
Schema is the default implementation for the ent.Mixin interface.
It should be embedded in end-user mixin as follows:
type M struct {
mixin.Schema
}
Time composes create/update time mixin.
Fields of the time mixin.
type UpdateTime struct{ Schema }
UpdateTime adds updated at time field.
Fields of the update time mixin.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.