Versions in this module Expand all Collapse all v1 v1.9.25 Mar 25, 2021 v1.9.24 Mar 24, 2021 Changes in this version + type Amount int64 + const MaxSatoshi + const SatoshiPerBitcent + const SatoshiPerBitcoin + func NewAmount(f float64) (Amount, error) + func (a Amount) Format(u Unit) string + func (a Amount) Int64() int64 + func (a Amount) MulF64(f float64) Amount + func (a Amount) String() string + func (a Amount) ToDUO() float64 + func (a Amount) ToUnit(u Unit) float64 + type Unit int + const DUO + const KiloDUO + const MegaDUO + const MicroDUO + const MilliDUO + const Satoshi + func (u Unit) String() string