extend

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: Apache-2.0 Imports: 1 Imported by: 6 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

*

  • Created by GoLand.
  • Brief: matcher fields read/write
  • User: vibrant
  • Date: 2019/04/09
  • Time: 17:20

*

  • Created by GoLand.
  • Brief: matcher fields read/write
  • User: vibrant
  • Date: 2019/04/03
  • Time: 11:20

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearSyncMap

func ClearSyncMap(m *SyncMap)

ClearSyncMap

Types

type SyncMap

type SyncMap struct {
	//data
	sync.Map
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*SyncMap) MyDelete

func (m *SyncMap) MyDelete(key interface{})

MyDelete

func (*SyncMap) MyLen

func (m *SyncMap) MyLen() int64

MyLen

func (*SyncMap) MyLoad

func (m *SyncMap) MyLoad(key interface{}) (value interface{}, ok bool)

MyLoad

func (*SyncMap) MyLoadOrStore

func (m *SyncMap) MyLoadOrStore(key, value interface{}) (actual interface{}, loaded bool)

MyLoadOrStore

func (*SyncMap) MyRange

func (m *SyncMap) MyRange(f func(key, value interface{}) bool)

MyRange

func (*SyncMap) MyStore

func (m *SyncMap) MyStore(key, value interface{})

MyStore

Jump to

Keyboard shortcuts

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