lazymap

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LazySyncMap

type LazySyncMap sync.Map

func (*LazySyncMap) Load

func (m *LazySyncMap) Load(key interface{}) (interface{}, bool)

func (*LazySyncMap) LoadOrStore

func (m *LazySyncMap) LoadOrStore(key interface{}, f func() interface{}) interface{}

func (*LazySyncMap) Store

func (m *LazySyncMap) Store(key interface{}, value interface{})

Jump to

Keyboard shortcuts

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