sync

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 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 Map

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

func MakeSyncMap

func MakeSyncMap[T any]() Map[T]

func (Map[T]) Delete

func (s Map[T]) Delete(key string)

func (Map[T]) Get

func (s Map[T]) Get(key string) (T, bool)

func (Map[T]) Set

func (s Map[T]) Set(key string, val T)

Jump to

Keyboard shortcuts

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