Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LimitStringField ¶
LimitStringField crops string
Types ¶
type Deposit ¶
type Deposit struct { ID uint64 `gorm:"PRIMARY_KEY;AUTO_INCREMENT:true"` Status uint8 `gorm:"NOT NULL"` StatusString string `gorm:"SIZE:16;NOT NULL"` Src []byte `gorm:"SIZE:32;NOT NULL"` Tx []byte `gorm:"SIZE:32;NOT NULL"` Dst []byte `gorm:"SIZE:20;NOT NULL"` Token string `gorm:"SIZE:4;NOT NULL"` Amount string `gorm:"NOT NULL" sql:"TYPE:decimal(30,18)"` NextCheckAt time.Time `gorm:"NOT NULL;DEFAULT:current_timestamp"` }
Deposit model
Click to show internal directories.
Click to hide internal directories.