schema

package
v0.0.0-...-b8a6b6b Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	ent.Schema
}

Document holds the schema definition for the Document entity.

func (Document) Edges

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

Edges of the Document.

func (Document) Fields

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

Fields of the Document.

func (Document) Mixin

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

Mixin of the Document.

type Term

type Term struct {
	ent.Schema
}

Term holds the schema definition for the Term entity.

func (Term) Fields

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

Fields of the Term.

func (Term) Indexes

func (Term) Indexes() []ent.Index

func (Term) Mixin

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

Mixin of the Term.

type TimeStampMixin

type TimeStampMixin struct {
	mixin.Schema
}

func (TimeStampMixin) Fields

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

Jump to

Keyboard shortcuts

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