Is there no XOR operator for booleans in golang?

Is there no XOR operator for booleans in golang?

I was trying to do something like b1^b2 but it said it wasn’t defined for booleans.

This is not the correct place to ask general programming questions, as this forum is specifically for discussing SonarQube and SonarLint.

However, the XOR operator for booleans is not necessary, as the same logic can be expressed using the b1 != b2 expression. There’s no need to use the XOR operator for booleans.