Documentation
¶
Index ¶
- func AbsDuration(duration time.Duration) time.Duration
- func ExpandPath(path string) string
- func FmtTokenAmount(value string) float64
- func HumanFloat64(v float64) string
- func HumanPercent(x float64) string
- func HumanSignedPercent(x float64) string
- func NormalizeFloat64Series(series []float64) []float64
- func PathExists(name string) (bool, error)
- func ReadHTTPRequest(req *http.Request, client *http.Client) ([]byte, error, int, http.Header)
- func ReadHTTPResponse(resp *http.Response) ([]byte, error, int, http.Header)
- func ReverseFloat64Array(a []float64)
- func ToDecimal(ivalue interface{}, decimals int) decimal.Decimal
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandPath ¶
func FmtTokenAmount ¶
func HumanFloat64 ¶
func HumanPercent ¶
func HumanSignedPercent ¶
func NormalizeFloat64Series ¶ added in v0.0.4
func PathExists ¶
func ReadHTTPRequest ¶
ReadHTTPRequest reads data from an http request
func ReadHTTPResponse ¶
ReadHTTPResponse reads data from an http response
func ReverseFloat64Array ¶
func ReverseFloat64Array(a []float64)
Types ¶
Click to show internal directories.
Click to hide internal directories.