title: Concat multiple slices in golang
body: <p>I'm trying to merge multiple slices as follows,</p>
  
  <pre><code>package routes
  
  import (
      "net/http"
  )
  
  type Route struct {
      Name        string
      Method      string
      Pattern     string
      Secured     bool
      HandlerFunc http.HandlerFunc
  }
  
  type Routes []Route
  
  var ApplicationRoutes Routes
  
  func init() {
      ApplicationRoutes = append(
          WifiUserRoutes,
          WifiUsageRoutes,
          WifiLocationRoutes,
          DashboardUserRoutes,
          DashoardAppRoutes,
          RadiusRoutes,
          AuthenticationRoutes...
      )
  }
  </code></pre>
  
  <p>However the builtin append() is capable of appending two slices, hence it throws <strong>too many arguments to append</strong> at compile time. Is there an alternative function to achieve the task? or is there a better way to merge the slices?</p>