go version
go version go1.17.2 darwin/amd64
- Navigate to the Go SDK root (execute and find entry), then navigate to inside the Go SDK root.go envGOROOTsrc/runtime/internal/sys
- Edit file and add an entry on a new line: const theVersion

go version
go version go1.17.2 darwin/amd64