Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Currency ¶
type Currency struct { ID string `db:"id" json:"id"` Name string `db':"name" json:"name"` PriceInDollar float64 `db:"price_in_dollar" json:"price_in_dollar"` }
Currency represents a single currency
type NewCurrency ¶
NewCurrency is for registering a new currency
type NewProduct ¶
NewProduct is for registering a new product
Click to show internal directories.
Click to hide internal directories.