🐛 Bug fixes
This commit is contained in:
parent
082b8b66ba
commit
84e0e7406a
@ -12,8 +12,8 @@ type Transaction struct {
|
||||
|
||||
Remark string `json:"remark"` // The usage of this transaction
|
||||
Amount decimal.Decimal `json:"amount" type:"decimal(30,2);"`
|
||||
Payer *Wallet `json:"payer"` // Who give the money
|
||||
Payee *Wallet `json:"payee"` // Who get the money
|
||||
Payer *Wallet `json:"payer" foreignKey:"PayerID"` // Who give the money
|
||||
Payee *Wallet `json:"payee" foreignKey:"PayeeID"` // Who get the money
|
||||
PayerID *uint `json:"payer_id"` // Leave this field as nil means pay from the system
|
||||
PayeeID *uint `json:"payee_id"` // Leave this field as nil means pay to the system
|
||||
}
|
||||
|
@ -31,9 +31,9 @@ func init() {
|
||||
|
||||
func main() {
|
||||
// Booting screen
|
||||
fmt.Println(color.YellowString(" ____ _\n| _ \\ ___ __ _ __| | ___ _ __\n| |_) / _ \\/ _` |/ _` |/ _ \\ '__|\n| _ < __/ (_| | (_| | __/ |\n|_| \\_\\___|\\__,_|\\__,_|\\___|_|"))
|
||||
fmt.Println(color.YellowString("__ __ _ _ _\n\\ \\ / /_ _| | | ___| |_\n \\ \\ /\\ / / _` | | |/ _ \\ __|\n \\ V V / (_| | | | __/ |_\n \\_/\\_/ \\__,_|_|_|\\___|\\__|"))
|
||||
fmt.Printf("%s v%s\n", color.New(color.FgHiYellow).Add(color.Bold).Sprintf("Hypernet.Wallet"), pkg.AppVersion)
|
||||
fmt.Printf("The scraper in the Solar Network\n")
|
||||
fmt.Printf("The payment system for Hypernet.\n")
|
||||
color.HiBlack("=====================================================\n")
|
||||
|
||||
// Configure settings
|
||||
|
Loading…
x
Reference in New Issue
Block a user