schema

package
v0.0.0-...-acd6729 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CAR = "car"
View Source
const CAR_ID = "car_id"
View Source
const DEPT = "dept"
View Source
const DEPT_ID = "dept_id"
View Source
const DPET_ID = "dept_id"
View Source
const PACKAGE_NAME = "contacts"
View Source
const RACE_BLACK = "BLACK"
View Source
const RACE_WHITE = "WHITE"
View Source
const RACE_YELLOW = "YELLOW"
View Source
const USER = "user"
View Source
const USER_ID = "user_id"

Variables

This section is empty.

Functions

This section is empty.

Types

type Car

type Car struct {
	ent.Schema
}

Car holds the schema definition for the Car entity.

func (Car) Annotations

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

func (Car) Edges

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

Edges of the Car.

func (Car) Fields

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

Fields of the Car.

type Dept

type Dept struct {
	ent.Schema
}

Dept holds the schema definition for the Dept entity.

func (Dept) Annotations

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

func (Dept) Edges

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

Edges of the Dept.

func (Dept) Fields

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

Fields of the Dept.

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.

Jump to

Keyboard shortcuts

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