schemautil

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTimeMixin

type CreateTimeMixin struct{}

CreateTimeMixin adds created at time field.

func (CreateTimeMixin) Fields

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

Fields of the create time mixin.

type TimeMixin

type TimeMixin struct{}

TimeMixin composes create/update time mixin.

func (TimeMixin) Fields

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

Fields of the time mixin.

type UpdateTimeMixin

type UpdateTimeMixin struct{}

UpdateTimeMixin adds updated at time field.

func (UpdateTimeMixin) Fields

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

Fields of the update time mixin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL