atomics

package
v0.0.0-...-c9bb408 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String struct {
	// contains filtered or unexported fields
}

func (*String) Load

func (as *String) Load() string

func (*String) Store

func (as *String) Store(s string)

type Value

type Value[T any] struct {
	// contains filtered or unexported fields
}

func (*Value[T]) Load

func (a *Value[T]) Load() T

func (*Value[T]) Store

func (a *Value[T]) Store(x T)

func (*Value[T]) Swap

func (a *Value[T]) Swap(new T) T

Jump to

Keyboard shortcuts

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