parsing

package
v0.0.0-...-9e6d8ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2021 License: MIT Imports: 4 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(value interface{}) (vv bool, err error)

Bool -

func CacheCandleIDs

func CacheCandleIDs(candle int, start time.Time, end time.Time) string

CacheCandleIDs -

func ChunkTimes

func ChunkTimes(items []time.Time, chunkSize int) (chunks [][]time.Time)

ChunkTimes -

func Duration

func Duration(dur time.Duration) (format string)

Duration -

func Float64

func Float64(value interface{}) (num float64, err error)

Float64 -

func InBetweenInt

func InBetweenInt(i, min, max int) bool

InBetweenInt -

func InBetweenInt64

func InBetweenInt64(i, min, max int64) bool

InBetweenInt64 -

func Int

func Int(value interface{}) (num int, err error)

Int -

func String

func String(value interface{}) (vv string, err error)

String -

func ToFixed

func ToFixed(num float64, precision int) float64

ToFixed -

func UnixTime

func UnixTime(t int64) (ts time.Time)

UnixTime -

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL