title: Go newbie: Getting "mismatched types *int and int" error when trying to compare reference to static integer
body: <p>I'm learning Go and trying to use reference to integer value in if-clause. </p>
  
  <pre><code>package main
  
  import (
      "fmt"
  )
  
  func main() {
      a := 19
      b := &amp;a
      if b &gt; 10 {
          fmt.Println("Its bigger")
      }
  
  }
  </code></pre>
  
  <p>This gives error message for type mismath. 
  How could I successfully compare value which <code>b</code> is referencing. In my training code I'm reading command line arguments with flags, but I suppose this example is reprex.</p>
  
  <p>How should I compare when havin only reference available?</p>