...
Package pathslice
import "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/util/pathslice"
- Overview
- Index
func Base(path []string) string
Base returns the last element of the path.
Returns empty string if path is empty.
func ToString(path []string) string
ToString returns the path as a string with elements delimited by periods.