path

package
v1.7.9 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2017 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