Documentation ¶
Index ¶
- func AliveSub(root, leaf *alive.Alive)
- func FoldErrChan(ch <-chan error) error
- func FoldErrors(errs []error) error
- func HexSpecialBytes(input []byte) string
- func HexSpecialString(input string) string
- func IntConfigDefault(x int, def int) int
- func IntMillisecondDefault(x int, def time.Duration) time.Duration
- func IntSecondConfigDefault(x int, def int) time.Duration
- func IntSecondDefault(x int, def time.Duration) time.Duration
- func MustHex(s string) []byte
- func RandUnix() *rand.Rand
- func SaveAndShowDoError(li []string, err error)
- func WithLock(l sync.Locker, f func())
- func WithLockError(l sync.Locker, f func() error) error
- func WrapErrChan(wg *sync.WaitGroup, ch chan<- error, fun func() error)
- type AtomicError
- type FatalFunc
- type Fataler
- type LogDoItems
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FoldErrChan ¶
func FoldErrors ¶
func HexSpecialBytes ¶
func HexSpecialString ¶
func IntConfigDefault ¶ added in v0.230424.2
func SaveAndShowDoError ¶ added in v0.220623.0
Types ¶
type AtomicError ¶
type AtomicError struct {
// contains filtered or unexported fields
}
func (*AtomicError) Load ¶
func (a *AtomicError) Load() (error, bool)
type LogDoItems ¶ added in v0.220623.0
Click to show internal directories.
Click to hide internal directories.