Documentation ¶
Overview ¶
Package bacotell_util provides utilities for plugins and BacoTell.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NilablePtr ¶ added in v0.1.1
func NilablePtr[K comparable, V any, T nilable[K, V]](v T) *T
NilablePtr returns a pointer to the argument if it is not nil else a nil pointer.
func NilableVal ¶ added in v0.1.1
func NilableVal[K comparable, V any, T nilable[K, V]](v *T) T
NilableVal returns the value pointed to by the argument if it is not nil else nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.