Go Built-In Functions Length and Capacity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
=<tt>len()</tt>= | =<tt>len()</tt>= | ||
< | <tt>string</tt> type: string length in bytes. | ||
=<tt>cap()</tt>= | =<tt>cap()</tt>= |
Revision as of 01:03, 23 March 2016
External
- Specification https://golang.org/ref/spec#Length_and_capacity
Internal
len()
string type: string length in bytes.