Variables in Go are initialized with a known value if not explicitly assigned.

That value is knows as zero value.

This is different from C/C++, where variables that are not explicitly assigned have undefined values.

The values of zero type are unsurprising:

Untitled Database

Said differently:

https://codeeval.dev/gist/6a023a01868aa24ef3876adc59a313e5