code: func (impl *repoImpl) registerProcessor(p processing.Processor) {
  	if impl.procsMap == nil {
  		impl.procsMap = map[string]processing.Processor{}
  	}
  
  	id := p.ID()
  	if impl.procsMap[id] != nil {
  		panic(fmt.Sprintf("processor %q has already been registered", id))
  	}
  
  	impl.procs = append(impl.procs, p)
  	impl.procsMap[id] = p
  }
docs: // registerProcessor adds a new processor.