That's easily resolved with an ensureCapacity(size) method, or the other way around with shrinkToFit(size).
maps being magic without a real interface means exposing new API surface is difficult though.
maps being magic without a real interface means exposing new API surface is difficult though.
It is just that the Go core team have their own philosophy.