func path/filepath.Base

16 uses

	path/filepath (current package)
		path.go#L455: func Base(path string) string {

	go/types
		signature.go#L468: 		strings.HasPrefix(filepath.Base(fset.File(obj.pos).Name()), "_cgo_")

	golang.org/x/tools/go/packages
		golist.go#L275: 				if filepath.Base(query) == filepath.Base(pkgFile) {
		golist.go#L313: 				filename := filepath.Join(pattern, filepath.Base(query)) // avoid recomputing abspath
		packages.go#L1424: 	if strings.EqualFold(filepath.Base(x), filepath.Base(y)) { // (optimisation)

	golang.org/x/tools/internal/gocommand
		invoke.go#L536: 		base := fmt.Sprintf("%d-%s", 1+len(overlays), filepath.Base(k))

	html/template
		template.go#L519: 	name = filepath.Base(file)

	internal/buildcfg
		cfg.go#L47: 		fmt.Fprintf(os.Stderr, "%s: %v\n", filepath.Base(os.Args[0]), Error)

	mime/multipart
		multipart.go#L101: 	return filepath.Base(filename)

	os/exec
		exec.go#L440: 	if filepath.Base(name) == name {

	testing
		fuzz.go#L287: 			testName = fmt.Sprintf("%s/%s", testName, filepath.Base(e.Path))
		fuzz.go#L374: 				testName := filepath.Base(crashPath)
		fuzz.go#L405: 			name := fmt.Sprintf("%s/%s", f.name, filepath.Base(e.Path))

	text/template
		helper.go#L167: 	name = filepath.Base(file)