mixin

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultMixins = []ent.Mixin{IdMixin{}, MetadataMixin{}}
View Source
var TimeSchemaType = entgql.Type("DateTime")

Functions

This section is empty.

Types

type IdMixin

type IdMixin struct {
	mixin.Schema
}

func (IdMixin) Fields

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

type MetadataMixin

type MetadataMixin struct {
	mixin.Schema
}

func (MetadataMixin) Fields

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

func (MetadataMixin) Hooks added in v0.3.1

func (m MetadataMixin) Hooks() []ent.Hook

Jump to

Keyboard shortcuts

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