Movatterモバイル変換


[0]ホーム

URL:


maps

package
v2.24.2Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License:AGPL-3.0Imports:2Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcMapadded inv2.24.0

func Map[Kcomparable, Fany, Tany](params map[K]F, convert func(F) T) map[K]T

funcSortedKeys

func SortedKeys[Tconstraints.Ordered](m map[T]any) (keys []T)

SortedKeys returns the keys of m in sorted order.

funcSubset

func Subset[T, Ucomparable](a, b map[T]U)bool

Subset returns true if all the keys of a are presentin b and have the same values.If the corresponding value of a[k] is the zero value inb, Subset will skip comparing that value.This allows checking for the presence of map keys.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp