currencies

package
v0.0.0-...-3e456db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL