Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct {
gorm.Model
Currency string
BankID string
AccountID string
Type string
Transactions []Transaction
}
func (Account) Conditions ¶
func (*Account) UnmarshalXML ¶
type DateTime ¶
func (*DateTime) UnmarshalXML ¶
type Transaction ¶
type Transaction struct {
gorm.Model
Type string `xml:"TRNTYPE"`
Time DateTime `xml:"DTPOSTED"`
Amount float32 `xml:"TRNAMT"`
FITID string `xml:"FITID"`
Name string `xml:"NAME"`
Memo string `xml:"MEMO"`
Currency string
CurrencyRate float32
AccountID uint
Account Account
}
func (Transaction) Conditions ¶
func (t Transaction) Conditions() map[string]interface{}
func (Transaction) TableName ¶
func (Transaction) TableName() string
func (*Transaction) UnmarshalXML ¶
func (t *Transaction) UnmarshalXML(decoder *xml.Decoder, start xml.StartElement) error
Click to show internal directories.
Click to hide internal directories.