Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Stdout io.Writer = os.Stdout
Stdout 是编译产物的默认输出目标,方便测试时替换。
Functions ¶
func WaitTimeout ¶
WaitTimeout waits for a sync.WaitGroup to finish with a timeout. Returns nil if the WaitGroup completes before the timeout, or an error if the timeout is reached.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.