Documentation ¶ Index ¶ type Transaction type Wallet Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Transaction ¶ type Transaction struct { Id int `db:"transaction_id"` UserId int `db:"user_id" ` Amount float64 `db:"amount"` Type string `db:"transaction_type" ` Description string `db:"description"` Date time.Time `db:"transaction_date"` } type Wallet ¶ type Wallet struct { UserID int `db:"id" ` Balance float64 `db:"balance" ` } Source Files ¶ View all Source files models.go Click to show internal directories. Click to hide internal directories.