mixin

package
v0.0.0-...-3c02646 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Time

type Time struct {
	mixin.Schema
}

Time implements the ent.Mixin for sharing the created_at and updated_at fields across multiple schemas.

func (Time) Fields

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

Fields returns all fields provided by the mixin.

Jump to

Keyboard shortcuts

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