$Search: ints
Go has fixed-size signed and unsigned integers:
int8
, uint8
byte
is an alias for uint8
int16
, uint16
int32
, uint32
rune
is an alias for int32
int64
, uint64
It also has architecture-dependent integers:
int
is int32
on 32-bit processors and int64
on 64-bit processorsuint
is uint32
on 32-bit processors and uint64
on 64-bit processorsZero value of an integer is 0.
strconv.Itoa
https://codeeval.dev/gist/e2402a6b79ffd884231020bf7054d02b
fmt.Sprintf
https://codeeval.dev/gist/deca0b5f45db59db49bf9b812d66d897
strconv.Atoi
https://codeeval.dev/gist/e7a9aeacf18465f8c8c3da328fcaa931
fmt.Sscanf