Basic types

These are Go's basic types:

Category Types
String string
Boolean bool
Integer int, int8, int16, int32, and int64
Unsigned integer uint,  uint8, uint16, uint32, and uint64
Pointer integer uinptr
Floating pointer float32 and float64
Complex number complex64 and complex128

 

The number of bits of int, uint, and uiptr depends on the architecture (for example, 32 bits for x86, 64 bits for x86_64).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.148.144.228