code: func extractVendorPath(path string) string {
  	vendorPath := "/vendor/"
  	if !strings.Contains(path, vendorPath) {
  		return path
  	}
  
  	return path[strings.Index(path, vendorPath)+len(vendorPath):]
  }
docs: // extractVendorPath removes a vendor prefix if one exists