title: How would you set and clear a single bit in Go?
body: <p>In Golang, how do you set and clear individual bits of an integer? For example, functions that behave like this:</p>
  
  <pre><code> clearBit(129, 7) // returns 1
   setBit(1, 7)     // returns 129
  </code></pre>