code: func newSwarming(c context.Context) *swarming.Service {
  	t, err := auth.GetRPCTransport(c, auth.AsSelf)
  	if err != nil {
  		panic(err)
  	}
  	swr, err := swarming.New(&http.Client{Transport: t})
  	if err != nil {
  		panic(err)
  	}
  	return swr
  }
docs: // newSwarming returns a new *swarming.Service. Panics on error.