Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorWriter ¶
type ColorWriter struct {
// contains filtered or unexported fields
}
func NewErrWriter ¶
func NewErrWriter() *ColorWriter
type Hook ¶
type Hook[T any] struct { // contains filtered or unexported fields }
func (*Hook[T]) Add ¶
func (h *Hook[T]) Add(fn func(*T)) func()
Add adds the handler to the end of the list
Click to show internal directories.
Click to hide internal directories.