Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoRecordFound = errors.New("no record found")
)
Functions ¶
func AddTrasactionHash ¶
func GetMnemonic ¶
Types ¶
type User ¶
type User struct { UserId string `json:"userId" gorm:"primary_key;unique;not null"` Mnemonic string `json:"-" gorm:"unique;not null"` Transactions []transaction.Transaction `json:"transactions" gorm:"foreignKey:UserId"` Email string `json:"email" gorm:"unique;not null"` }
Click to show internal directories.
Click to hide internal directories.