private static boolean isGolang(PortableExecutable pe, ByteProvider provider) {
			boolean buildIdPresent = false;
			boolean buildInfoPresent = false;

			SectionHeader textSection = pe.getNTHeader().getFileHeader().getSectionHeader(".text");
			if (textSection != null) {
				try (InputStream is = textSection.getDataStream()) {
					GoBuildId buildId = GoBuildId.read(is);
					buildIdPresent = buildId != null;
				}
				catch (IOException e) {
					// fail
				}
			}

			SectionHeader dataSection = pe.getNTHeader().getFileHeader().getSectionHeader(".data");
			if (dataSection != null) {
				try (InputStream is = dataSection.getDataStream()) {
					buildInfoPresent = GoBuildInfo.isPresent(is);
				}
				catch (IOException e) {
					// fail
				}
			}
			return buildIdPresent || buildInfoPresent;
		}
Return true if chararray appears in full, starting at offset bytestart in bytearray

@param bytearray the array of bytes containing the potential match
@param bytestart the potential start of the match
@param chararray the array of characters to match
@return true if there is a full match
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/PeLoader.java