mixin

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mixin is the mixin package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatedSchema

type CreatedSchema struct {
	mixin.Schema
}

CreatedSchema schema to include control and time fields.

func (CreatedSchema) Fields

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

Fields of the mixin.

func (CreatedSchema) Indexes

func (CreatedSchema) Indexes() []ent.Index

Indexes of the mixin.

type DeletedSchema

type DeletedSchema struct {
	mixin.Schema
}

DeletedSchema schema to include control and time fields.

func (DeletedSchema) Fields

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

Fields of the Model.

func (DeletedSchema) Indexes

func (DeletedSchema) Indexes() []ent.Index

Indexes of the mixin.

type Model

type Model struct {
	mixin.Schema
}

Model schema to include control and time fields.

func (Model) Fields

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

Fields of the mixin.

func (Model) Indexes

func (Model) Indexes() []ent.Index

Indexes of the mixin.

type Origin

type Origin struct {
	mixin.Schema
}

Origin schema to include control and time fields.

func (Origin) Fields

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

Fields of the mixin.

func (Origin) Indexes

func (Origin) Indexes() []ent.Index

Indexes of the mixin.

type UpdatedSchema

type UpdatedSchema struct {
	mixin.Schema
}

UpdatedSchema schema to include control and time fields.

func (UpdatedSchema) Fields

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

Fields of the mixin.

func (UpdatedSchema) Indexes

func (UpdatedSchema) Indexes() []ent.Index

Indexes of the mixin.

Jump to

Keyboard shortcuts

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