private Register parseRegStr(String regName, Language lang) throws IOException {
		if (regName == null || regName.isBlank()) {
			return null;
		}
		Register register = lang.getRegister(regName);
		if (register == null) {
			throw new IOException("Unknown register: " + regName);
		}
		return register;
	}
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