ent: github.com/facebookincubator/ent/schema/schemautil Index | Files

package schemautil

import "github.com/facebookincubator/ent/schema/schemautil"

Index

Package Files

time.go

type CreateTimeMixin Uses

type CreateTimeMixin struct{}

CreateTimeMixin adds created at time field.

func (CreateTimeMixin) Fields Uses

func (CreateTimeMixin) Fields() []ent.Field

Fields of the create time mixin.

type TimeMixin Uses

type TimeMixin struct{}

TimeMixin composes create/update time mixin.

func (TimeMixin) Fields Uses

func (TimeMixin) Fields() []ent.Field

Fields of the time mixin.

type UpdateTimeMixin Uses

type UpdateTimeMixin struct{}

UpdateTimeMixin adds updated at time field.

func (UpdateTimeMixin) Fields Uses

func (UpdateTimeMixin) Fields() []ent.Field

Fields of the update time mixin.

Package schemautil imports 3 packages (graph) and is imported by 1 packages. Updated 2019-11-19. Refresh now. Tools for package owners.