MCPcopy
hub / github.com/thrasher-corp/gocryptotrader / Equal

Method Equal

exchanges/kline/kline.go:722–724  ·  view source on GitHub ↗

Equal allows for easier unix comparison

(tt time.Time)

Source from the content-addressed store, hash-verified

720
721// Equal allows for easier unix comparison
722func (i *IntervalTime) Equal(tt time.Time) bool {
723 return tt.Unix() == i.Ticks
724}
725
726// EqualSource checks whether two sets of candles
727// come from the same data source

Callers 15

TestSetRunningURLFunction · 0.45
TestGetPairsFunction · 0.45
TestSetupDefaultsFunction · 0.45
TestStringFunction · 0.45
TestFormatSymbolFunction · 0.45
TestGetKlineRequestFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestSetRunningURLFunction · 0.36
TestGetPairsFunction · 0.36
TestSetupDefaultsFunction · 0.36
TestStringFunction · 0.36
TestFormatSymbolFunction · 0.36
TestGetKlineRequestFunction · 0.36