code: func (service *Service) NewController(name string) *Controller {
  	return &Controller{
  		Name:                 name,
  		Service:              service,
  		Context:              context.WithValue(service.Context, ctrlKey, name),
  		MaxRequestBodyLength: 1073741824, // 1 GB
  		FileSystem: func(dir string) http.FileSystem {
  			return http.Dir(dir)
  		},
  	}
  }
docs: // NewController returns a controller for the given resource. This method is mainly intended for
  // use by the generated code. User code shouldn't have to call it directly.