Documentation ¶
Index ¶
- type Money
- func (m *Money) Add(amount float64) Money
- func (m *Money) AddMoney(money Money) Money
- func (m *Money) AddWith(amount float64)
- func (m *Money) AddWithMoney(money Money)
- func (m *Money) Ceil() Money
- func (m *Money) Compare(other Money) int
- func (m *Money) Divide(amount float64) Money
- func (m *Money) DivideMoney(money Money) Money
- func (m *Money) DivideWith(amount float64)
- func (m *Money) DivideWithMoney(money Money)
- func (m *Money) Format() string
- func (m *Money) Multiply(amount float64) Money
- func (m *Money) MultiplyMoney(money Money) Money
- func (m *Money) MultiplyWith(amount float64)
- func (m *Money) MultiplyWithMoney(money Money)
- func (m *Money) Round() Money
- func (m *Money) Substract(amount float64) Money
- func (m *Money) SubstractMoney(money Money) Money
- func (m *Money) SubstractWith(amount float64)
- func (m *Money) SubstractWithMoney(money Money)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Money ¶
func (*Money) AddWithMoney ¶
func (*Money) DivideMoney ¶
func (*Money) DivideWith ¶
func (*Money) DivideWithMoney ¶
func (*Money) MultiplyMoney ¶
func (*Money) MultiplyWith ¶
func (*Money) MultiplyWithMoney ¶
func (*Money) SubstractMoney ¶
func (*Money) SubstractWith ¶
func (*Money) SubstractWithMoney ¶
Click to show internal directories.
Click to hide internal directories.