schema

package
v0.0.0-...-ed3e5d4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllTypes

type AllTypes struct {
	ent.Schema
}

AllTypes holds the schema definition for the AllTypes entity.

func (AllTypes) Fields

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

Fields of the AllTypes.

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 FishBreed

type FishBreed string

FishBreed is an enum for the available fish breeds.

func (FishBreed) Values

func (FishBreed) Values() []string

type Hat

type Hat struct {
	ent.Schema
}

Hat holds the schema definition for the Hat entity.

func (Hat) Edges

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

Edges of the Hat.

func (Hat) Fields

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

Fields of the Hat.

type Link struct{ *url.URL }
func DefaultLink() *Link

func (*Link) Scan

func (l *Link) Scan(value interface{}) (err error)

Scan implements the Scanner interface.

func (Link) Value

func (l Link) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type Pet

type Pet struct {
	ent.Schema
}

Pet holds the schema definition for the Pet entity.

func (Pet) Annotations

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

Annotations of the Pet.

func (Pet) Edges

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

Edges of the Pet.

func (Pet) Fields

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

Fields of the Pet.

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Edges

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

Edges of the User.

func (User) Fields

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

Fields of the User.

Jump to

Keyboard shortcuts

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