static File getGOROOT() throws IOException {
		AtomicReference<String> val = new AtomicReference<String>();
		execGoCmd(null, null, val::set, "env", "GOROOT");
		String gorootStr = val.get();
		File result;
		return gorootStr != null && (result = new File(gorootStr)).isDirectory() ? result : null;
	}
Returns the GOROOT value of whatever go tool is found in the current PATH

@return GOROOT path
@throws IOException if failure
Ghidra/Features/Base/src/test/java/ghidra/app/util/bin/format/golang/rtti/GoApiSnapshotGeneratorTest.java