schema

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amount

type Amount float64

type Category

type Category struct {
	ent.Schema
}

Category holds the schema definition for the Category entity.

func (Category) Annotations

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

Annotations returns todo annotations.

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) Annotations

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

Annotations returns todo annotations.

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 User

type User struct {
	ent.Schema
}

User defines the User type schema.

func (User) Annotations

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

Annotations returns user annotations.

func (User) Fields

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

Fields returns User fields.

Jump to

Keyboard shortcuts

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