path

package
v0.22.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Vendorless

func Vendorless(p string) string

Vendorless removes the longest match of "*/vendor/" from the front of p. It is useful if a package locates in vendor/, e.g., k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1, because gengo indexes the package with its import path, e.g., k8s.io/apimachinery/pkg/apis/meta/v1,

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL