public static boolean isGolangFunction(DWARFFunction dfunc) {
		DIEAggregate diea = dfunc.diea;
		int cuLang = diea.getCompilationUnit().getLanguage();
		if (cuLang != DWARFSourceLanguage.DW_LANG_Go) {
			return false;
		}
		// sanity check: gofuncs always have a void return type in dwarf
		if (!dfunc.retval.isVoidType()) {
			return false;
		}
		return true;
	}
Returns true if the specified {@link DWARFFunction} wrapper refers to a function in a golang
compile unit.

@param dfunc {@link DWARFFunction}
@return boolean true or false
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/GolangDWARFFunctionFixup.java