schema

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 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) Fields

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

Fields returns category fields.

func (Category) Mixin

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

Mixin returns category mixed-in schema.

type Group

type Group struct {
	ent.Schema
}

Group defines the group type schema.

func (Group) Fields

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

Fields returns group fields.

func (Group) Mixin

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

Mixin returns group mixed-in schema.

type Todo

type Todo struct {
	ent.Schema
}

Todo defines the todo type schema.

func (Todo) Fields

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

Fields returns todo fields.

func (Todo) Mixin

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

Mixin returns todo mixed-in schema.

type User

type User struct {
	ent.Schema
}

User defines the user type schema.

func (User) Fields

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

Fields returns user fields.

func (User) Mixin

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

Mixin returns user mixed-in schema.

type VerySecret

type VerySecret struct {
	ent.Schema
}

VerySecret defines the todo type schema.

func (VerySecret) Fields

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

Fields returns very secret fields.

func (VerySecret) Mixin

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

Mixin returns todo mixed-in schema.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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