Documentation
¶
Index ¶
- func Bool(value interface{}) (vv bool, err error)
- func CacheCandleIDs(candle int, start time.Time, end time.Time) string
- func ChunkTimes(items []time.Time, chunkSize int) (chunks [][]time.Time)
- func Duration(dur time.Duration) (format string)
- func Float64(value interface{}) (num float64, err error)
- func InBetweenInt(i, min, max int) bool
- func InBetweenInt64(i, min, max int64) bool
- func Int(value interface{}) (num int, err error)
- func String(value interface{}) (vv string, err error)
- func ToFixed(num float64, precision int) float64
- func UnixTime(t int64) (ts time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheCandleIDs ¶
CacheCandleIDs -
func ChunkTimes ¶
ChunkTimes -
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.