Documentation ¶
Index ¶
- func CloneObject(a, b interface{})
- func MovingExpAvg(value float64, oldValue float64, ftime float64, time float64) (r float64)
- func MovingExpAvg32(value float32, oldValue float32, ftime float32, time float32) (r float32)
- func ReverseMovingExpAvg(r float64, oldValue float64, ftime float64, time float64) (value float64)
- func ReverseMovingExpAvg32(r float32, oldValue float32, ftime float32, time float32) (value float32)
- func TimeSince(t1 time.Time) (since string)
- func ToBool(i1 interface{}) bool
- func ToFloat32(i1 interface{}) float32
- func ToFloat64(i1 interface{}) float64
- func ToInt64(i1 interface{}) int64
- func ToInterfaceArray(i1 interface{}) []interface{}
- func ToInterfaceMap(i1 interface{}) map[string]interface{}
- func ToString(i1 interface{}) string
- func ToStringArray(i1 interface{}) []string
- func ToStringMap(i1 interface{}) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MovingExpAvg ¶
func MovingExpAvg32 ¶
func ReverseMovingExpAvg ¶
func ReverseMovingExpAvg32 ¶
func ToInterfaceArray ¶
func ToInterfaceArray(i1 interface{}) []interface{}
ToInterfaceArray converts interface{} to []interface{} and never returns nil
func ToInterfaceMap ¶
func ToInterfaceMap(i1 interface{}) map[string]interface{}
ToInterfaceMap converts interface{} to map[string]interface{} and never returns nil
func ToStringArray ¶
func ToStringArray(i1 interface{}) []string
ToStringArray converts interface{} to []string and never returns nil
func ToStringMap ¶
ToStringMap converts interface{} to map[string]string and never returns nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.