schema

package
v0.0.0-...-e243104 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct {
	ent.Schema
}

Category holds the schema definition for the Category entity.

func (Category) Edges

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

Edges of the Category.

func (Category) Fields

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

Fields of the Category.

type Todo

type Todo struct {
	ent.Schema
}

Todo defines the todo type schema.

func (Todo) Edges

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

Edges returns todo edges.

func (Todo) Fields

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

Fields returns todo fields.

type VerySecret

type VerySecret struct {
	ent.Schema
}

VerySecret defines the very secret type schema.

func (VerySecret) Annotations

func (VerySecret) Annotations() []schema.Annotation

func (VerySecret) Fields

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

Fields returns private fields.

Directories

Path Synopsis
Package schematype provides custom types for ent/schema.
Package schematype provides custom types for ent/schema.

Jump to

Keyboard shortcuts

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