Compiled

Go

Data Types

categorytypes
booleanbool
integerint, int8, int16, int32, int64
unsigneduint, uint8 (byte), uint16, uint32, uint64, uintptr
floating-pointfloat32, float64
complexcomplex64, complex128
text / runestring, rune (int32 Unicode code point)
aggregatesarray, struct
referenceslice, map, chan, pointers (e.g. *T), func, interface
error / miscerror, user-defined named types (e.g. type ID int)

Time Complexities 1

slices

Let n be len(s) and k the number of elements being appended or copied.

Read more >