Is it possible to differentiate between false
and an unset boolean value in go?
For instance, if I had this code
type Test struct {
Set bool
Unset bool
}
test := Test{ Set: false }
Is there any difference between test.Set
and test.Unset
and if so how can I tell them apart?