public static File getApiFile(File baseDir, GoVer ver) {
		String filename =
			"go%d.%d.%d.json".formatted(ver.getMajor(), ver.getMinor(), ver.getPatch());
		File f = new File(baseDir, filename);
		if (!f.isFile() && ver.getPatch() == 0) {
			filename = "go%d.%d.json".formatted(ver.getMajor(), ver.getMinor());
			f = new File(baseDir, filename);
		}
		return f.isFile() ? f : null;
	}
Returns a matching {@link GoApiSnapshot} for the specified golang version.  If an exact
match isn't found, earlier patch revs will be tried until all patch levels are exhausted.   

@param goVer go version (controls which .json file is opened)
@param goArch GOARCH string
@param goOS GOOS string
@param monitor {@link TaskMonitor}
@return {@link GoApiSnapshot} instance, possibly an {@link #EMPTY} instance if no matching
snapshot file is found
@throws IOException if error parsing json or opening the snapshot container file
@throws CancelledException if user cancels
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoApiSnapshot.java