Go Maps: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
A map is an unordered collection of key-value pairs. | |||
=Declaration= | =Declaration= | ||
==Long Declaration== | ==Long Declaration== | ||
<pre> | |||
var m map[string]int | |||
</pre> | |||
==Short Declaration== | ==Short Declaration== | ||
=Map Operators and Functions= | =Map Operators and Functions= |
Revision as of 02:22, 28 March 2016
Internal
Overview
A map is an unordered collection of key-value pairs.
Declaration
Long Declaration
var m map[string]int