schema

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillProduct added in v0.3.4

type BillProduct struct {
	ent.Schema
}

BillProduct holds the schema definition for the BillProduct entity.

func (BillProduct) Mixin added in v0.3.4

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

Mixin returns category mixed-in schema.

type Category

type Category struct {
	ent.Schema
}

Category holds the schema definition for the Category entity.

func (Category) Mixin

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

Mixin returns category mixed-in schema.

type Friendship added in v0.3.0

type Friendship struct {
	ent.Schema
}

Friendship holds the edge schema definition of the Friendship relationship.

func (Friendship) Edges added in v0.3.0

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

Edges of the Friendship.

func (Friendship) Fields added in v0.3.0

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

Fields of the Friendship.

func (Friendship) Mixin added in v0.3.0

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

Mixin returns user mixed-in schema.

type Group added in v0.3.0

type Group struct {
	ent.Schema
}

Group defines the group type schema.

func (Group) Mixin added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

type User struct {
	ent.Schema
}

User defines the user type schema.

func (User) Edges added in v0.3.0

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

Edges of the User.

func (User) Mixin added in v0.3.0

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) Mixin

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

Mixin returns todo mixed-in schema.

Directories

Path Synopsis
Package pulid implements the pulid type.
Package pulid implements the pulid type.

Jump to

Keyboard shortcuts

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