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 ReverseIntArray(input []int) []int
- func ReverseStringArray(input []string) []string
- func SortAndReturnIndex(nums []float64) []int
- func StringInSlice(a string, list []string) bool
- 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)
func ReverseIntArray ¶ added in v0.0.13
func ReverseStringArray ¶ added in v0.0.12
func SortAndReturnIndex ¶ added in v0.0.10
func StringInSlice ¶ added in v0.0.14
Types ¶
Click to show internal directories.
Click to hide internal directories.