title: How to get the pointer of return value from function call?
body: <p>I just need a pointer to time.Time, so the code below seems invalid:</p>
  
  <blockquote>
    <p>./c.go:5: cannot take the address of time.Now()</p>
  </blockquote>
  
  <p>I just wonder why? Is there any way to do that except to do assignment to a variable first and take the pointer of the variable?</p>
  
  <pre><code>package main
  
  import "time"
  func main() {
      _ = &amp;time.Now()
  }
  </code></pre>