Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Go ¶
func Go(f func())
Go is a utility function that executes a function concurrently in a goroutine. It recovers from any panics that occur within the goroutine and prints the panic error.
func LoggerGo ¶
func LoggerGo(logger *rainbowlog.Logger, f func())
LoggerGo is a utility function that executes a function concurrently in a goroutine. It recovers from any panics that occur within the goroutine and logs the panic error using the provided logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.