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

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

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