Go Integers: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Go Built-in Types")
 
No edit summary
Line 2: Line 2:


* [[Go Concepts - The Type System#Built-in_Types|Go Built-in Types]]
* [[Go Concepts - The Type System#Built-in_Types|Go Built-in Types]]
=Overview=
Unsigned integers: <tt>uint8</tt> (or <tt>byte</tt>), <tt>uint16</tt>, <tt>uint32</tt> (or <tt>rune</tt>), <tt>uint64</tt>.
Signed integers: <tt>int8</tt>, <tt>int16</tt>, <tt>int32</tt>, <tt>int64</tt>.

Revision as of 07:40, 22 March 2016

Internal

Overview

Unsigned integers: uint8 (or byte), uint16, uint32 (or rune), uint64.

Signed integers: int8, int16, int32, int64.