今天 go run 运行go文件时出现一个BUG
errors
compile: version "go1.10.3" does not match go tool version "go1.10.1"
internal/race
compile: version "go1.10.3" does not match go tool version "go1.10.1"
runtime/internal/atomic
compile: version "go1.10.3" does not match go tool version "go1.10.1"
runtime/internal/sys
compile: version "go1.10.3" does not match go tool version "go1.10.1"
sync/atomic
compile: version "go1.10.3" does not match go tool version "go1.10.1"
math
compile: version "go1.10.3" does not match go tool version "go1.10.1"
unicode/utf8
compile: version "go1.10.3" does not match go tool version "go1.10.1"
unicode
compile: version "go1.10.3" does not match go tool version "go1.10.1"
有疑问加站长微信联系(非本文作者)

go tool升级一下