code: func setBit(n int, pos int) int {
  	n |= (1 << uint(pos))
  	return n
  }
docs: // via http://stackoverflow.com/questions/23192262/how-would-you-set-and-clear-a-single-bit-in-go
  // Sets the bit at pos in the integer n.