FAQ
The make form lets you supply a size hint. The literal form lets you
specify initial elements. If you're doing neither, then

m0 := make(map[string]int)
m1 := map[string]int{}

are equivalent.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedApr 17, '15 at 3:04p
activeApr 20, '15 at 3:37a
posts3
users3
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase