schema

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: Apache-2.0 Imports: 4 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 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.

type Variant

type Variant struct {
	ent.Schema
}

func (Variant) Edges

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

Edges of the Category.

func (Variant) Fields

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

Fields of the Category.

Jump to

Keyboard shortcuts

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