schema

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chunk

type Chunk struct {
	ent.Schema
}

Chunk holds the schema definition for the Chunk entity.

func (Chunk) Edges

func (Chunk) Edges() []ent.Edge

Edges of the Chunk.

func (Chunk) Fields

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

Fields of the Chunk.

func (Chunk) Mixin

func (Chunk) Mixin() []ent.Mixin

type IDMixin

type IDMixin struct {
	mixin.Schema
}

IDMixin implements the ent.Mixin for id.

func (IDMixin) Fields

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

type TimeMixin

type TimeMixin struct {
	mixin.Schema
}

TimeMixin implements the ent.Mixin for sharing time fields with package schemas.

func (TimeMixin) Fields

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

type Worker

type Worker struct {
	ent.Schema
}

Worker holds the schema definition for the Worker entity.

func (Worker) Edges

func (Worker) Edges() []ent.Edge

Edges of the Worker.

func (Worker) Fields

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

Fields of the Worker.

func (Worker) Mixin

func (Worker) Mixin() []ent.Mixin

Jump to

Keyboard shortcuts

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