Documentation ¶
Index ¶
- type Amount
- func (a Amount) Add(b Amount) Amount
- func (a Amount) Compare(b Amount) int
- func (a Amount) MarshalJSON() ([]byte, error)
- func (a Amount) Mul(b Amount) Amount
- func (a Amount) PercentOf(b Amount) float64
- func (a *Amount) Scan(value interface{}) error
- func (a Amount) String() string
- func (a Amount) Sub(b Amount) Amount
- func (a Amount) Value() (driver.Value, error)
- type Map
- type StringSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amount ¶
Amount represense a avalanche yocto
func NewInt64Amount ¶
NewInt64Amount returns a new amount for the given int64 value
func (Amount) MarshalJSON ¶
MarshalJSON returns a JSON representation of amount
type Map ¶ added in v0.3.0
type Map map[string]interface{}
Map implements a database-compatible map
func (Map) GetFloat64 ¶ added in v0.4.0
type StringSlice ¶ added in v0.3.0
type StringSlice []string
func (*StringSlice) Scan ¶ added in v0.3.0
func (slice *StringSlice) Scan(src interface{}) error
Click to show internal directories.
Click to hide internal directories.