# Functions
BigIntFromString returns a BigInt from a string The string is assumed to be base 10 and if it is not a valid big.Int then the function will return an error.
DateFromString returns a Date from a string formatted as "2006-01-02".
DateFromTime returns a Date from a time.Time.
DecimalFromString returns a Decimal from a string.
MustBigIntFromString returns an instance of BigInt from a string The string is assumed to be base 10 and if it is not a valid big.Int then the function panics.
MustDateFromString returns a Date from a string formatted as "2006-01-02" or panics.
MustDecimalFromString returns an instance of Decimal from a string Avoid using this function in production code.
MustNewBigIntFromString returns an instance of BigInt from a string The string is assumed to be base 10 and if it is not a valid big.Int then the function panics.
MustNewDateFromString returns an instance of Date from a string formatted as "2006-01-02" or panics.
MustNewDecimalFromString returns an instance of Decimal from a string Avoid using this function in production code.
MustNewTimeFromString returns an instance of time.Time from a string formatted as "2006-01-02T15:04:05Z07:00" or panics.
MustTimeFromString returns a time.Time from a string formatted as "2006-01-02T15:04:05Z07:00" or panics.
NewBigIntFromString returns an instance of BigInt from a string The string is assumed to be base 10 and if it is not a valid big.Int then the function will return an error.
NewDate returns an instance of Date from a time.Time.
NewDateFromString returns an instance of Date from a string formatted as "2006-01-02".
NewDecimalFromString returns an instance of Decimal from a string.
# Structs
BigInt is a wrapper around big.Int that allows for JSON marshaling a big integer as a string.
Date is a wrapper around time.Time that allows for JSON marshaling a date string formatted as "2006-01-02".
Decimal is a wrapper around decimal.Big that allows for JSON marshaling a decimal as a JSON number.