package
Version:
v0.0.0-...-07657c1
Opens a new window with list of versions in this module.
Published: Mar 25, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConnectDB function connects to the database and inits migration.
Block struct provides model definition for the block table.
Transaction struct provides model definition for the transaction table.
type Wallet struct {
ID uint `gorm:"primaryKey"`
Address string `gorm:"unique"`
CreatedAt time.Time
}
Wallet struct provides model definition for the wallet table.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.