code: func InitRegistry(c Config) Registry {
  	once.Do(func() {
  		reg = registry{
  			endorsers:  make(map[string]endorsement2.PluginFactory),
  			validators: make(map[string]validation.PluginFactory),
  		}
  		reg.loadHandlers(c)
  	})
  	return &reg
  }
docs: // InitRegistry creates the (only) instance
  // of the registry