code: func NewWorkItemRepository(db *gorm.DB) *GormWorkItemRepository {
  	repository := &GormWorkItemRepository{
  		db:    db,
  		winr:  numbersequence.NewWorkItemNumberSequenceRepository(db),
  		witr:  &GormWorkItemTypeRepository{db},
  		wirr:  &GormRevisionRepository{db},
  		space: space.NewRepository(db),
  	}
  	return repository
  }
docs: // NewWorkItemRepository creates a GormWorkItemRepository