@Override
	protected String getTypeDeclString() throws IOException {
		String baseTypeName = getSymbolName().getBaseTypeName();
		String declStr = getFuncPrototypeString(null);
		return baseTypeName.startsWith("func(") ? "type %s".formatted(declStr)
				: "type %s %s".formatted(baseTypeName, declStr);
	}
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