github.com/bir3/gocompiler@v0.9.2202/src/cmd/gocmd/internal/toolchain/path_none.go (about) 1 // Copyright 2023 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !unix && !plan9 && !windows 6 7 package toolchain 8 9 import "io/fs" 10 11 // pathDirs returns the directories in the system search path. 12 func pathDirs() []string { 13 return nil 14 } 15 16 // pathVersion returns the Go version implemented by the file 17 // described by de and info in directory dir. 18 // The analysis only uses the name itself; it does not run the program. 19 func pathVersion(dir string, de fs.DirEntry, info fs.FileInfo) (string, bool) { 20 return "", false 21 }