Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Credit = "c" Debit = "d" )
Functions ¶
This section is empty.
Types ¶
type LastTransactions ¶
type StatementResponse ¶
type StatementResponse struct { Saldo Balance `json:"saldo"` UltimasTransacoes []LastTransactions `json:"ultimas_transacoes"` }
type TransactionRequest ¶
type TransactionRequest struct { Value int `` /* 145-byte string literal not displayed */ Type string `json:"tipo" validate:"required|string|min:1|max:1" message:"required: campo tipo é obrigatório"` Description string `json:"descricao" validate:"required|min:1|max:10" message:"required: campo descrição é obrigatório"` }
func (TransactionRequest) Validate ¶
func (tr TransactionRequest) Validate() error
type TransactionResponse ¶
Click to show internal directories.
Click to hide internal directories.