betterer
This commit is contained in:
@@ -37,7 +37,7 @@ func main() {
|
||||
for i, span := range spans.Spans {
|
||||
log.Printf("[%d] (%vs) %v .. %v", i, int(span[1].Sub(span[0]).Seconds()), span[0].Format(format), span[1].Format(format))
|
||||
if i < len(spans.Spans)-1 {
|
||||
log.Printf("[%d] (%s...)", i, int(spans.Spans[i+1][0].Sub(span[1]).Seconds()))
|
||||
log.Printf("[%d] (%vs...)", i, int(spans.Spans[i+1][0].Sub(span[1]).Seconds()))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user