public String getParamListString() {
		try {
			StringBuilder sb = new StringBuilder();
			sb.append("(");

			List<GoType> paramTypes = getParamTypes();
			List<GoType> inParamTypes = paramTypes.subList(0, inCount);
			List<GoType> outParamTypes = paramTypes.subList(inCount, paramTypes.size());
			for (int i = 0; i < inParamTypes.size(); i++) {
				GoType paramType = inParamTypes.get(i);
				if (i != 0) {
					sb.append(", ");
				}
				sb.append(paramType.getName());
			}
			sb.append(")");
			if (!outParamTypes.isEmpty()) {
				sb.append(" ");
				if (outParamTypes.size() > 1) {
					sb.append("(");
				}
				for (int i = 0; i < outParamTypes.size(); i++) {
					GoType paramType = outParamTypes.get(i);
					if (i != 0) {
						sb.append(", ");
					}
					sb.append(paramType.getName());
				}
				if (outParamTypes.size() > 1) {
					sb.append(")");
				}
			}
			return sb.toString();
		} catch (IOException e) {
			return "(???)";
		}
	}
Returns a string that describes the function type as a golang-ish function decl.

@param funcName optional name of a function
@return golang func decl string
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoFuncType.java