code: func fixPkgPathVendoring(pkgPath string) string {
  	const vendor = "/vendor/"
  	if i := strings.LastIndex(pkgPath, vendor); i != -1 {
  		return pkgPath[i+len(vendor):]
  	}
  	return pkgPath
  }
docs: // fixes vendored paths