Documentation ¶
Index ¶
- func DeepCopy(dst interface{}, src interface{}) error
- func GetEndTimeIdxFromColumns(columns []string) int
- func GetSampleInstance(timeObj, endTimeObj *time.Time, numVal string) *ApiCommon.Sample
- func GetTimeIdxFromColumns(columns []string) int
- func NanoSecondToSecond(nanosecond int64) int64
- func ParseTime(timeStr string) (time.Time, error)
- func ReadCSV(file string) (map[string][]string, error)
- func SliceContains(sliceType interface{}, item interface{}) bool
- func StringToFloat64(str string) (float64, error)
- func StringToInt64(str string) (int64, error)
- func TimeStampToNanoSecond(timestamp *timestamp.Timestamp) int64
- type StringStringMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEndTimeIdxFromColumns ¶ added in v0.3.8
GetTimeIdxFromColumns get index of end_time column
func GetSampleInstance ¶
GetSampleInstance get Sample instance
func GetTimeIdxFromColumns ¶
GetTimeIdxFromColumns get index of time column
func NanoSecondToSecond ¶
NanoSecondToSecond translate nano seconds to seconds
func SliceContains ¶ added in v0.9.166
func SliceContains(sliceType interface{}, item interface{}) bool
func StringToFloat64 ¶ added in v0.3.0
StringToFloat64 parse str to float64
func TimeStampToNanoSecond ¶
TimeStampToNanoSecond get nano seconds from timestamp object
Types ¶
type StringStringMap ¶
func (StringStringMap) ReplaceKeys ¶
func (m StringStringMap) ReplaceKeys(old, new []string) StringStringMap
Click to show internal directories.
Click to hide internal directories.