ussd/internal/models/balanceresponse.go

18 lines
331 B
Go
Raw Normal View History

2024-08-26 12:31:20 +02:00
package models
import "encoding/json"
2024-10-31 02:28:37 +01:00
//type BalanceResponse struct {
// Ok bool `json:"ok"`
// Result struct {
// Balance string `json:"balance"`
// Nonce json.Number `json:"nonce"`
// } `json:"result"`
//}
//
type BalanceResult struct {
Balance string `json:"balance"`
Nonce json.Number `json:"nonce"`
2024-08-26 12:31:20 +02:00
}