title: How to convert int64 to binary and keep leading zeros in golang?
body: <p>I have created a program which converts int64 to binary:</p>
  
  <pre><code>package main
  
  import (
      "fmt"
      "strconv"
  )
  
  func main() {
      n := int64(3)
      fmt.Println(strconv.FormatInt(n, 2))
  }
  </code></pre>
  
  <p>And it returns this value:</p>
  
  <pre><code>11
  </code></pre>
  
  <p>How can I keep the leading zeros in the answer?</p>
  
  <p>Thanks in advance!</p>