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.

    Source Files