code: func RegisterTargetResolver(r TargetResolver) error {
  	mu.Lock()
  	defer mu.Unlock()
  
  	resolver = r
  
  	return nil
  }
docs: // RegisterTargetResolver registers a custom target resolver, else the default will be used