Versions in this module Expand all Collapse all v0 v0.0.2 Aug 15, 2022 Changes in this version + var ErrInvalidValue = errors.New("invalid value") + var ZeroInt = Int + type Int struct + func MustNewInt(v Int, err error) Int + func NewIntFromBigInt(i *big.Int) Int + func NewIntFromBytes(b []byte) Int + func NewIntFromInt64(v int64) Int + func NewIntFromString(s string) (Int, error) + func NewIntFromUint64(v uint64) Int + func (v *Int) Scan(value interface{}) error + func (v *Int) SetBigInt(i *big.Int) Int + func (v *Int) SetBytes(buf []byte) Int + func (v *Int) SetString(s string) (Int, bool) + func (v *Int) UnmarshalJSON(data []byte) error + func (v *Int) UnmarshalText(text []byte) error + func (v Int) Add(x Int) Int + func (v Int) BigInt() *big.Int + func (v Int) Bytes() []byte + func (v Int) Div(x Int) Int + func (v Int) Int64() int64 + func (v Int) IsEqual(x Int) bool + func (v Int) IsGreaterThan(x Int) bool + func (v Int) IsLesserThan(x Int) bool + func (v Int) MarshalJSON() ([]byte, error) + func (v Int) MarshalText() ([]byte, error) + func (v Int) Mul(x Int) Int + func (v Int) Neg() Int + func (v Int) String() string + func (v Int) Sub(x Int) Int + func (v Int) Value() (driver.Value, error) v0.0.1 Aug 3, 2022 Other modules containing this package github.com/purposeinplay/go-commons