Using a loop foris the easiest solution. Creating an array or slice will always return a null value. Which in the case boolmeans that all values will be false(zero type value bool).
, Composite literal , :
b1 := []bool{true, true, true}
b2 := [3]bool{true, true, true}
for, , true:
const T = true
b3 := []bool{T, T, T}
n , for - .
, "all-false" . , , , , :
presents := []bool{true, true, true, true, true, true}
missings := make([]bool, 6)
, "memset". Go , . :
memset go?