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 Priority
- 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 ¶
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 FieldType ¶
FieldType holds the schema definition for the FieldType entity. used for testing field types.
type File ¶
File holds the schema definition for the File entity.
func (File) Annotations ¶ added in v0.7.0
func (File) Annotations() []schema.Annotation
type Link ¶
func DefaultLink ¶ added in v0.10.0
func DefaultLink() *Link
type MAC ¶
type MAC struct {
net.HardwareAddr
}
type Pair ¶ added in v0.8.0
type Pair struct {
K, V []byte
}
type Pet ¶
Pet holds the schema definition for the Pet entity.
func (Pet) Annotations ¶ added in v0.8.0
func (Pet) Annotations() []schema.Annotation
Annotations of the Pet.
type StringScanner ¶ added in v0.9.0
type StringScanner string
func (*StringScanner) Scan ¶ added in v0.9.0
func (s *StringScanner) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
type Triple ¶ added in v0.8.0
type Triple struct {
E [3]string
}
Click to show internal directories.
Click to hide internal directories.