Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Association ¶
type Issue ¶
type Issue struct {
Id int64 `sql:"pk: true, auto: true"`
Number int
Date Date
Title string `sql:"size: 512"`
Body string `sql:"size: 2048, name: bigbody"`
Assignee string `sql:"index: issue_assignee"`
State string `sql:"size: 50"`
Labels []string `sql:"encode: json"`
// contains filtered or unexported fields
}
type Numbers ¶ added in v0.19.0
type Numbers struct {
I8 int8 `sql:"default: -8"`
U8 uint8 `sql:"default: 8"`
I16 int16 `sql:"default: -16"`
U16 uint16 `sql:"default: 16"`
I32 int32 `sql:"default: -32"`
U32 uint32 `sql:"default: 32"`
I64 int64 `sql:"default: -64"`
U64 uint64 `sql:"default: 64"`
F32 float32 `sql:"default: 3.2"`
F64 float64 `sql:"default: 6.4"`
}
type User ¶
type User struct {
Uid int64 `sql:"pk: true, auto: true"`
Name string `sql:"unique: user_login"`
EmailAddress string `sql:"nk: true"`
AddressId *int64 `sql:"fk: addresses.id, onupdate: restrict, ondelete: restrict"`
Avatar *string
Role *Role `sql:"type: text, size: 20"`
Active bool
Admin bool
Fave *big.Int `sql:"encode: json"`
LastUpdated int64
// something just to aid test coverage
Numbers Numbers
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.