Documentation ¶
Index ¶
- type BigInt
- type Card
- type CardMixin
- type CheckError
- type Comment
- type FieldType
- type File
- type FileType
- type Float32
- type Float64
- type Goods
- type Group
- type GroupInfo
- type Int
- type Int64
- type Int8
- type Item
- type Link
- type MAC
- type Node
- type Pair
- type Password
- type Pet
- type Spec
- type Status
- type StringScanner
- type Strings
- type Task
- type Triple
- type User
- type UserMixin
- type VString
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) Annotations ¶
func (Card) Annotations() []schema.Annotation
type CardMixin ¶
func (CardMixin) Annotations ¶
func (CardMixin) Annotations() []schema.Annotation
type CheckError ¶
type CheckError struct {
// contains filtered or unexported fields
}
CheckError is returned by the validators.
func (CheckError) Error ¶
func (c CheckError) Error() string
type Comment ¶
type Comment struct {
ent.Schema
}
Comment holds the schema definition for the Comment entity.
type FieldType ¶
type FieldType struct {
ent.Schema
}
FieldType holds the schema definition for the FieldType entity. used for testing field types.
type File ¶
type File struct {
ent.Schema
}
File holds the schema definition for the File entity.
func (File) Annotations ¶
func (File) Annotations() []schema.Annotation
type FileType ¶
type FileType struct {
ent.Schema
}
FileType holds the schema definition for the FileType entity.
type Goods ¶
type Goods struct {
ent.Schema
}
Goods holds the schema definition for the Goods entity.
type GroupInfo ¶
type GroupInfo struct {
ent.Schema
}
GroupInfo holds the schema for the group-info entity.
type Link ¶
func DefaultLink ¶
func DefaultLink() *Link
type MAC ¶
type MAC struct {
net.HardwareAddr
}
type Node ¶
type Node struct {
ent.Schema
}
Node holds the schema definition for the linked-list Node entity.
type Pair ¶
type Pair struct {
K, V []byte
}
type StringScanner ¶
type StringScanner string
func (*StringScanner) Scan ¶
func (s *StringScanner) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
type Triple ¶
type Triple struct {
E [3]string
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.