func NewWorkitemController(service *goa.Service, db application.DB, config WorkItemControllerConfig) *WorkitemController {
	if db == nil {
		panic("db must not be nil")
	}
	return &WorkitemController{
		Controller: service.NewController("WorkitemController"),
		db:         db,
		config:     config}
}
// NewWorkitemController creates a workitem controller.
NewWorkitemController creates a workitem controller.
// NewWorkitemController creates a workitem controller .
func NewWorkitemController(service *goa.Service, db application.DB, config WorkItemControllerConfig) *WorkitemController {
	if db == nil {
		panic("db must not be nil")
	}
	return &WorkitemController{
		Controller: service.NewController("WorkitemController"),
		db:         db,
		config:     config}
}
func NewWorkitemController ( service * goa . Service , db application . DB , config WorkItemControllerConfig ) * WorkitemController { if db == nil { panic ( " " ) } return & WorkitemController { Controller : service . NewController ( " " ) , db : db , config : config } }
NewWorkitemController creates a workitem controller.
NewWorkitemController creates a workitem controller .