code: func UpstreamsFromAPI(us []api.Upstream) Upstreams {
  	a := make([]Upstream, len(us))
  	for i, u := range us {
  		a[i] = UpstreamFromAPI(u)
  	}
  	return a
  }
docs: // UpstreamsFromAPI is a helper for converting api.Upstream to Upstream.