private RegType parseRegTypeStr(String s) {
		return switch (Objects.requireNonNullElse(s, "int").toLowerCase()) {
			default -> RegType.INT;
			case "float" -> RegType.FLOAT;
		};

	}
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