Этот коммит содержится в:
Tobias Theel 2021-03-19 16:34:20 +01:00 коммит произвёл Ron Evans
родитель bd212cc000
коммит 5707022951

Просмотреть файл

@ -171,8 +171,9 @@ func getGoroot() string {
switch runtime.GOOS { switch runtime.GOOS {
case "linux": case "linux":
candidates = []string{ candidates = []string{
"/usr/local/go", // manually installed "/usr/local/go", // manually installed
"/usr/lib/go", // from the distribution "/usr/lib/go", // from the distribution
"/snap/go/current/", // installed using snap
} }
case "darwin": case "darwin":
candidates = []string{ candidates = []string{