utils

package
v4.5.2000+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSlice

func AddSlice(source *[]string, element string) *[]string

func GetColumnIndex

func GetColumnIndex(columns []string, key string) int

func GetTimeRange

func GetTimeRange(startTime *timestamp.Timestamp, endTime *timestamp.Timestamp, durationTime int32, step int32) *CommonLib.TimeRange

func InterfaceToString

func InterfaceToString(i interface{}, params ...string) string

func ReadCSV

func ReadCSV(file string) (map[string][]float64, error)

Types

type TimeRange

type TimeRange struct {
	StartTime time.Time
	EndTime   time.Time
	Step      time.Duration
}

Directories

Path Synopsis
Package log provides the canonical logging functionality used by Go-based Alameda components.
Package log provides the canonical logging functionality used by Go-based Alameda components.

Jump to

Keyboard shortcuts

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