mixins

package
v0.0.0-...-5c1e0bc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseIDMixin

type BaseIDMixin struct {
	// We embed the `mixin.Schema` to avoid
	// implementing the rest of the methods.
	mixin.Schema
}

BaseIDMixin implements the ent.Mixin for sharing base fields with package schemas.

func (BaseIDMixin) Fields

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

type SonyflakeMixin

type SonyflakeMixin struct {
	mixin.Schema
}

func (SonyflakeMixin) Fields

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

type SortMixin

type SortMixin struct {
	// We embed the `mixin.Schema` to avoid
	// implementing the rest of the methods.
	mixin.Schema
}

SortMixin implements the ent.Mixin for sharing sort fields with package schemas.

func (SortMixin) Fields

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

type StatusMixin

type StatusMixin struct {
	mixin.Schema
}

StatusMixin implements the ent.Mixin for sharing status fields with package schemas.

func (StatusMixin) Fields

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

type UUIDMixin

type UUIDMixin struct {
	// We embed the `mixin.Schema` to avoid
	// implementing the rest of the methods.
	mixin.Schema
}

UUIDMixin implements the ent.Mixin for sharing UUID fields with package schemas.

func (UUIDMixin) Fields

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

Jump to

Keyboard shortcuts

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