code: func NewEventsController(service *goa.Service, db application.DB, config EventsControllerConfig) *EventsController {
  	return &EventsController{
  		Controller: service.NewController("EventsController"),
  		db:         db,
  		config:     config}
  }
docs: // NewEventsController creates a work_item_events controller.