schema

package
v0.0.0-...-f6f9965 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

type Book struct {
	ent.Schema
}

Book holds the schema definition for the Book entity.

func (Book) Edges

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

Edges of the Book.

func (Book) Fields

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

Fields of the Book.

func (Book) Mixin

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

type Collection

type Collection struct {
	ent.Schema
}

Collection holds the schema definition for the Collection entity.

func (Collection) Edges

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

Edges of the Collection.

func (Collection) Fields

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

Fields of the Collection.

func (Collection) Mixin

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

type TimeMixin

type TimeMixin struct {
	mixin.Schema
}

Mixin holds the schema definition for the Mixin entity.

func (TimeMixin) Edges

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

Edges of the Mixin.

func (TimeMixin) Fields

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

Fields of the Mixin.

Jump to

Keyboard shortcuts

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