public static String getProgramGOOS(Program program) {
		// TODO: this mapping needs more logic
		String loaderName = program.getExecutableFormat();
		if (ElfLoader.ELF_NAME.equals(loaderName)) {
			// TODO: this will require additional work to map all Golang OSs to Ghidra loader info
			return "linux";
		}
		else if (PeLoader.PE_NAME.equals(loaderName)) {
			return "windows";
		}
		else if (MachoLoader.MACH_O_NAME.equals(loaderName)) {
			return "darwin";
		}
		return "unknown";
	}
Returns a Golang "GOOS" string created by a mapping from the Ghidra program's loader type.

@param program {@link Program}
@return Golang "GOOS" string
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/GoBuildInfo.java