schema

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 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 Group added in v0.11.0

type Group struct {
	ent.Schema
}

Group holds the schema definition for the Group entity.

func (Group) Annotations added in v0.11.0

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

Annotations of the Group.

func (Group) Fields added in v0.11.0

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

Fields of the Group.

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations added in v0.11.0

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

Annotations of the User.

func (User) Fields

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

Fields of the User.

Jump to

Keyboard shortcuts

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