safe

package
v0.0.0-...-8388d70 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(mux *sync.Mutex, fn func())

func Get

func Get[T any](mux *sync.Mutex, ref *T) T

func Set

func Set[T any](mux *sync.Mutex, ref *T, v T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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