Versions in this module Expand all Collapse all v0 v0.0.3 Oct 15, 2019 v0.0.2 Aug 29, 2019 Changes in this version type Value + func (s *Value) Type() string v0.0.1 Dec 20, 2017 Changes in this version + const E + const G + const K + const M + const P + const T + var DefaultUnits = map[string]int64 + type Sign uint8 + const Negative + const None + const Positive + type Unit struct + func MustNewUnit(m map[string]int64) *Unit + func NewUnit(m map[string]int64) (*Unit, error) + func (u *Unit) MustNewValue(value int64, explicitSign Sign) *Value + func (u *Unit) NewValue(value int64, explicitSign Sign) (*Value, error) + func (u *Unit) ValueFromString(str string) (*Value, error) + type Value struct + ExplicitSign Sign + IsSet bool + Value int64 + func (s *Value) Set(str string) error + func (s Value) Get() interface{} + func (s Value) String() string