public Namespace getSymbolNamespace(Program program) {
		Namespace rootNS = program.getGlobalNamespace();
		if (packagePath != null && !packagePath.isBlank()) {
			try {
				return program.getSymbolTable()
						.getOrCreateNameSpace(rootNS, packagePath, SourceType.IMPORTED);
			}
			catch (DuplicateNameException | InvalidInputException e) {
				// ignore, fall thru
			}
		}
		return rootNS;
	}
Returns a Ghidra {@link Namespace} based on the golang package path.

@param program {@link Program} that will contain the namespace
@return {@link Namespace} cooresponding to the golang package path, or the program's root
namespace if no package path information is present
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoSymbolName.java