internal

package
v0.0.0-...-50a2a80 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DebugEnabled = os.Getenv("NEMO_DEBUG") == "1"
	ProfEnabled  = os.Getenv("NEMO_PROF") == "1"
)

Functions

func Choose

func Choose[T any](selection ...T) T

func DebugEnd

func DebugEnd()

func DebugStart

func DebugStart()

func IntRand

func IntRand(n int) int

func Logln

func Logln(s string, args ...any)

NOTE: Remember.. Logging is not cheap! TODO: use slog instead

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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