smap

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: BSD-3-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 SMap

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

func New

func New() *SMap

func (*SMap) Delete

func (s *SMap) Delete(key interface{})

func (*SMap) Exist

func (s *SMap) Exist(key interface{}) bool

func (*SMap) Get

func (s *SMap) Get(key interface{}) (value interface{}, ok bool)

func (*SMap) Length

func (s *SMap) Length() int

func (*SMap) Peek

func (s *SMap) Peek() interface{}

func (*SMap) Range

func (s *SMap) Range(f func(key interface{}, value interface{}) bool)

func (*SMap) Set

func (s *SMap) Set(key interface{}, value interface{})

Jump to

Keyboard shortcuts

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