Documentation ¶
Index ¶
- func Abs(i int) int
- func CheckErr(e error)
- func DrawChart(timestamps [][]time.Time, datas [][]float64, chartName string, ...)
- func FindIntInSlice(val int64, slice []int64) (isFound bool)
- func FindStringInSlice(val string, slice []string) (isFound bool)
- func FormatDate(timestamp int64, format string) (ret string)
- func GenerateTimestampArray(startTS, endTS int64) (tsArray []int64)
- func Haversine(lonFrom float64, latFrom float64, lonTo float64, latTo float64) (distance float64)
- func LineCounter(r io.Reader) (int, error)
- func Log(ctxt context.Context, level string, msg ...interface{})
- func OpenCSV(fileName string) (ret [][]float64)
- func OpenJSON(fileName string) (ret interface{})
- func RemoveStringFromSlice(s []string, r string) []string
- func SaveJSON(fileName string, data interface{}, separator string)
- func ToTitle(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindIntInSlice ¶
FindIntInSlice allows to find an int in a slice
func FindStringInSlice ¶
FindStringInSlice allows to find a string in a slice
func FormatDate ¶
FormatDate allows to format a date
func GenerateTimestampArray ¶
GenerateTimestampArray allows to generate a Timestamp array
func RemoveStringFromSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.