code: func NewSpaceController(
  	service *goa.Service,
  	db application.DB,
  	config SpaceConfiguration,
  	resourceManager auth.ResourceManager) *SpaceController {
  
  	return &SpaceController{
  		Controller:        service.NewController("SpaceController"),
  		db:                db,
  		config:            config,
  		resourceManager:   resourceManager,
  		DeploymentsClient: http.DefaultClient,
  		CodebaseClient:    http.DefaultClient,
  	}
  }
docs: // NewSpaceController creates a space controller.