Codebase list golang-github-vbauerster-mpb / ac334c3
Access Value indirectly Vladimir Bauer 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
255255 }
256256
257257 var str string
258 timeRemaining := time.Duration(float64(st.Total-st.Current) * s.MovingAverage.Value())
258 timeRemaining := time.Duration(float64(st.Total-st.Current) * s.Value())
259259 hours := int64((timeRemaining / time.Hour) % 60)
260260 minutes := int64((timeRemaining / time.Minute) % 60)
261261 seconds := int64((timeRemaining / time.Second) % 60)