private List<GoRegisterInfo> loadRegisterInfo(Language lang) {
		try {
			ResourceFile f = DWARFUtil.getLanguageExternalFile(lang, REGISTER_INFO_EXTERNAL_NAME);
			if (f != null) {
				return read(f, lang);
			}
			Msg.warn(GoRegisterInfoManager.class,
				"Missing Golang register info file for: %s".formatted(lang.getLanguageID()));
		}
		catch (IOException e) {
			Msg.warn(GoRegisterInfoManager.class, "Failed to read Golang register info file",
				e);
		}
		return List.of();
	}
Returns a {@link GoRegisterInfo} instance for the specified {@link Language}.
<p>
If the language didn't define golang register info, a generic/empty instance will be
returned that forces all parameters to be stack allocated.

@param lang {@link Language}
@param goVer {@link GoVer}
@return {@link GoRegisterInfo}, never null
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/GoRegisterInfoManager.java