title: How to pass multiple return values to a variadic function?
body: <p>I have a Go function which returns two integer values. Below is the function</p>
  
  <pre><code>func temp() (int, int){
   return 1,1
  }
  </code></pre>
  
  <p>Is it possible to put <code>temp</code> function directly into a <code>Println</code> and print both the outputs using string formatting as below:</p>
  
  <pre><code>fmt.Println("first= %d and second = %d", temp() ) // This doesn't work
  </code></pre>
  
  <p>In Python, I am able to do the following:</p>
  
  <pre><code>def func():
      return 1,1
  print("{0}={1}".format(*func())
  &gt;&gt; '1=2'
  </code></pre>
  
  <p>Can I do Something similar in Go too?</p>