package
0.22.0
Repository: https://github.com/codatio/client-sdk-go.git
Documentation: pkg.go.dev

# Functions

DateFromString returns a Date from a string formatted as "2006-01-02".
DateFromTime returns a Date from a time.Time.
MustBigIntFromString provides a helper function to return a big.Int 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 nil.
MustDateFromString returns a Date from a string formatted as "2006-01-02" or panics.
MustNewDateFromString returns an instance of Date from a string formatted as "2006-01-02" or panics.
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.
NewDate returns an instance of Date from a time.Time.
NewDateFromString returns an instance of Date from a string formatted as "2006-01-02".

# 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".