Documentation ¶
Overview ¶
Package utils implements some utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertIdentifier ¶
func IsHexDigit ¶
func IsUnsignedInteger ¶
func RelativePathBaseOn ¶
RelativePathBaseOn changes relative path base on the basePath
Types ¶
type WaitGroupMap ¶
type WaitGroupMap struct {
// contains filtered or unexported fields
}
func NewWaitGroups ¶
func NewWaitGroups() *WaitGroupMap
func (*WaitGroupMap) Add ¶
func (w *WaitGroupMap) Add(delta int, key string)
func (*WaitGroupMap) AddMany ¶
func (w *WaitGroupMap) AddMany(delta int, keys ...string)
func (*WaitGroupMap) Done ¶
func (w *WaitGroupMap) Done(key string)
func (*WaitGroupMap) DoneMany ¶
func (w *WaitGroupMap) DoneMany(keys ...string)
func (*WaitGroupMap) Wait ¶
func (w *WaitGroupMap) Wait(key string)
func (*WaitGroupMap) WaitMany ¶
func (w *WaitGroupMap) WaitMany(keys ...string)
Click to show internal directories.
Click to hide internal directories.