Documentation ¶
Index ¶
- type CAD
- func (receiver CAD) Abs() CAD
- func (receiver CAD) Add(other CAD) CAD
- func (receiver CAD) AsCents() int64
- func (receiver CAD) CanonicalForm() (int64, int64)
- func (receiver CAD) GoString() string
- func (receiver CAD) MarshalJSON() ([]byte, error)
- func (receiver CAD) Mul(scalar int64) CAD
- func (receiver *CAD) Scan(src interface{}) error
- func (receiver CAD) String() string
- func (receiver CAD) Sub(other CAD) CAD
- func (receiver *CAD) UnmarshalJSON(b []byte) error
- func (receiver CAD) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAD ¶
type CAD struct {
// contains filtered or unexported fields
}
func (CAD) CanonicalForm ¶
func (CAD) MarshalJSON ¶
func (*CAD) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.