Documentation ¶
Index ¶
- func AliveSub(root, leaf *alive.Alive)
- func ConfigDefaultInt(InInt int, valueIfIntZero int) int
- func ConfigDefaultStr(inString string, valueIfStringBlank string) string
- func FoldErrChan(ch <-chan error) error
- func FoldErrors(errs []error) error
- func HexSpecialBytes(input []byte) string
- func HexSpecialString(input string) string
- 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 ConfigDefaultInt ¶ added in v0.240106.0
func ConfigDefaultStr ¶ added in v0.240106.0
func FoldErrChan ¶
func FoldErrors ¶
func HexSpecialBytes ¶
func HexSpecialString ¶
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.