Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateRemainingTime ¶
func EstimateRemainingTime(timeStart time.Time, current int64, total int64) (percentage float64, remaining time.Duration)
EstimateRemainingTime estimates the remaining time for a running operation and returns the finished percentage.
func LoadStringFromEnvironment ¶
LoadStringFromEnvironment loads a string from the given environment variable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.