schema

package
Version: v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Card

type Card struct {
	ent.Schema
}

Card holds the schema definition for the CreditCard entity.

func (Card) Edges

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

Edges of the Card.

func (Card) Fields

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

Fields of the Comment.

func (Card) Mixin

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

type Comment

type Comment struct {
	ent.Schema
}

Comment holds the schema definition for the Comment entity.

func (Comment) Edges

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

Edges of the Comment.

func (Comment) Fields

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

Fields of the Comment.

type FieldType

type FieldType struct {
	ent.Schema
}

FieldType holds the schema definition for the FieldType entity. used for testing field types.

func (FieldType) Fields

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

Fields of the File.

type File

type File struct {
	ent.Schema
}

File holds the schema definition for the File entity.

func (File) Edges

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

Edges of the File.

func (File) Fields

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

Fields of the File.

func (File) Indexes

func (File) Indexes() []ent.Index

Indexes of a file.

type FileType

type FileType struct {
	ent.Schema
}

FileType holds the schema definition for the FileType entity.

func (FileType) Edges

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

Edges of the FileType.

func (FileType) Fields

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

Fields of the FileType.

type Float32

type Float32 float32

type Float64

type Float64 float64

type Group

type Group struct {
	ent.Schema
}

Group holds the schema for the group entity.

func (Group) Edges

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

Edges of the group.

func (Group) Fields

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

Fields of the group.

type GroupInfo

type GroupInfo struct {
	ent.Schema
}

GroupInfo holds the schema for the group-info entity.

func (GroupInfo) Edges

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

Edges of the group.

func (GroupInfo) Fields

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

Fields of the group.

type Int

type Int int

type Int64

type Int64 int64

type Int8

type Int8 int8

type Item

type Item struct {
	ent.Schema
}

Item holds the schema definition for the Item entity.

func (Item) Edges

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

Edges of the Item.

func (Item) Fields

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

Fields of the Item.

type Link struct {
	*url.URL
}

func (*Link) Scan

func (l *Link) Scan(value interface{}) (err error)

Scan implements the Scanner interface.

func (Link) Value

func (l Link) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type Node

type Node struct {
	ent.Schema
}

Node holds the schema definition for the linked-list Node entity.

func (Node) Edges

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

Edges of the Node.

func (Node) Fields

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

Fields of the Node.

type Pet

type Pet struct {
	ent.Schema
}

Pet holds the schema definition for the Pet entity.

func (Pet) Edges

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

Edges of the Dog.

func (Pet) Fields

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

Fields of the Pet.

func (Pet) Indexes

func (Pet) Indexes() []ent.Index

type Spec

type Spec struct {
	ent.Schema
}

func (Spec) Edges

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

Edges of the Spec.

type Status

type Status bool

type User

type User struct {
	ent.Schema
}

User holds the schema for the user entity.

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

type UserMixin

type UserMixin struct {
	mixin.Schema
}

UserMixin composes create/update time mixin.

func (UserMixin) Fields

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

Fields of the time mixin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto