maps

package
v0.0.0-...-91ba548 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 2 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[K comparable, V any] map[K]V

func New

func New[K comparable, V any]() Map[K, V]

func (Map[K, V]) Delete

func (receiver Map[K, V]) Delete(key K)

func (Map[K, V]) Get

func (receiver Map[K, V]) Get(key K) V

func (Map[K, V]) GetInt

func (receiver Map[K, V]) GetInt(key K) int

func (Map[K, V]) GetString

func (receiver Map[K, V]) GetString(key K) string

GetString 获取字符串值

func (Map[K, V]) IsEmpty

func (receiver Map[K, V]) IsEmpty() bool

func (Map[K, V]) Put

func (receiver Map[K, V]) Put(key K, value V)

Jump to

Keyboard shortcuts

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