utils

package
v0.0.0-...-261533d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clamp

func Clamp[T cmp.Ordered](n, low, high T) T

func InitLogger

func InitLogger() (*log.Logger, *os.File)

Types

type NotificationWriter

type NotificationWriter struct{}
var (
	NotifyIO NotificationWriter
	Logger   *log.Logger
)

func (*NotificationWriter) Write

func (w *NotificationWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL