Go Built-In Functions Length and Capacity: Difference between revisions
Jump to navigation
Jump to search
(→len()) |
(→cap()) |
||
Line 16: | Line 16: | ||
=<tt>cap()</tt>= | =<tt>cap()</tt>= | ||
* [[Go_Slices#Slice_Capacity|slice capacity[[ |
Revision as of 06:12, 6 April 2016
External
- Specification https://golang.org/ref/spec#Length_and_capacity
Internal
len()
cap()
- [[Go_Slices#Slice_Capacity|slice capacity[[