added model and func to fetch vouchers from the API
This commit is contained in:
7
internal/models/vouchersresponse.go
Normal file
7
internal/models/vouchersresponse.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package models
|
||||
|
||||
// VoucherHolding represents a single voucher holding
|
||||
type VoucherHolding struct {
|
||||
Symbol string `json:"symbol"`
|
||||
Address string `json:"address"`
|
||||
}
|
||||
Reference in New Issue
Block a user