schema

package
v0.0.0-...-8e0a72f Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDMixin

type IDMixin struct {
	mixin.Schema
}

IDMixin holds the schema definition for the IDMixin entity.

func (IDMixin) Fields

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

Fields of the IDMixin.

type TimeMixin

type TimeMixin struct {
	mixin.Schema
}

TimeMixin holds the schema definition for the TimeMixin entity.

func (TimeMixin) Fields

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

Fields of the TimeMixin.

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations

func (User) Annotations() []schema.Annotation

func (User) Edges

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

Edges of the User.

func (User) Fields

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

Fields of the User.

func (User) Mixin

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

Jump to

Keyboard shortcuts

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