boolean
Booleans work the same way in Go as they do in JavaScript and TypeScript. They can be either true or false.
var a bool = truevar b bool = falsevar c bool // set to false due to zero valueBooleans work the same way in Go as they do in JavaScript and TypeScript. They can be either true or false.
var a bool = truevar b bool = falsevar c bool // set to false due to zero valuetrue and false as types