Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRecordInvalid invalid record found ErrRecordInvalid = errors.New("Record is invalid") )
errors
Functions ¶
This section is empty.
Types ¶
type CurrenciesRecordSet ¶
type CurrenciesRecordSet struct { ID int `json:"id"` Code string `json:"code"` Name string `json:"name"` TypeID int `json:"type_id"` }
func GetCurrencies ¶
func GetCurrencies(currencyID int64, currencyType int64) ([]CurrenciesRecordSet, error)
GetCurrencies returns info from all the records in the database table currencies. If currencyID is 0 it will return all the records
Click to show internal directories.
Click to hide internal directories.