title: Go Unpacking Array As Arguments
body: <p>So in Python and Ruby there is the splat operator (*) for unpacking an array as arguments. In Javascript there is the .apply() function. Is there a way of unpacking an array/slice as function arguments in Go? Any resources for this would be great as well!</p>
  
  <p>Something along the lines of this:</p>
  
  <pre><code>func my_func(a, b int) (int) {
      return a + b
  }
  
  func main() {
      arr := []int{2,4}
      sum := my_func(arr)
  }
  </code></pre>
  
  <p>I do apologize if I'm making an syntactical/assorted mistakes. I'm new to Go.</p>