schema

package
v0.0.0-...-6d1ceae Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lowercase

func Lowercase(s string) error

Lowercase

Types

type Equipment

type Equipment struct {
	ent.Schema
}

Equipment holds the schema definition for the Equipment entity.

func (Equipment) Edges

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

Edges of the Equipment.

func (Equipment) Fields

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

Fields of the Equipment.

type Idea

type Idea struct {
	ent.Schema
}

Idea holds the schema definition for the Idea entity.

func (Idea) Edges

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

Edges of the Idea.

func (Idea) Fields

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

Fields of the Idea.

type Ingredient

type Ingredient struct {
	ent.Schema
}

Ingredient holds the schema definition for the Ingredient entity.

func (Ingredient) Edges

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

Edges of the Ingredient.

func (Ingredient) Fields

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

Fields of the Ingredient.

func (Ingredient) Mixin

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

Mixin of the Ingredient.

type Instruction

type Instruction struct {
	ent.Schema
}

Instruction holds the schema definition for the Instruction entity.

func (Instruction) Edges

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

Edges of the Instruction.

func (Instruction) Fields

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

Fields of the Instruction.

func (Instruction) Indexes

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

Indexes of the Instruction.

type LocaleMixin

type LocaleMixin struct {
	mixin.Schema
}

LocaleMixin implements the ent.Mixin for sharing locale fields with package schemas.

func (LocaleMixin) Fields

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

type Nutrition

type Nutrition struct {
	ent.Schema
}

Nutrition holds the schema definition for the Nutrition entity.

func (Nutrition) Edges

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

Edges of the Nutrition.

func (Nutrition) Fields

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

Fields of the Nutrition.

type Product

type Product struct {
	ent.Schema
}

Product holds the schema definition for the Product entity.

func (Product) Edges

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

Edges of the Product.

func (Product) Fields

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

Fields of the Product.

func (Product) Mixin

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

Mixin of the Product.

type Recipe

type Recipe struct {
	ent.Schema
}

Recipe holds the schema definition for the Recipe entity.

func (Recipe) Edges

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

Edges of the Recipe.

func (Recipe) Fields

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

Fields of the Recipe.

func (Recipe) Indexes

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

func (Recipe) Mixin

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

Mixin of the Recipe.

type Source

type Source struct {
	ent.Schema
}

Source holds the schema definition for the Source entity.

func (Source) Edges

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

Edges of the Source.

func (Source) Fields

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

Fields of the Source.

type Tag

type Tag struct {
	ent.Schema
}

Tag holds the schema definition for the Tag entity.

func (Tag) Edges

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

Edges of the Tag.

func (Tag) Fields

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

Fields of the Tag.

func (Tag) Indexes

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

Indexes of the Tag.

Jump to

Keyboard shortcuts

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