11 lines
265 B
Text
11 lines
265 B
Text
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||
|
|
|
||
|
|
export module Greeter;
|
||
|
|
import std;
|
||
|
|
|
||
|
|
export namespace Greeter {
|
||
|
|
std::string Greet(std::string_view name) {
|
||
|
|
return std::format("hello {}", name);
|
||
|
|
}
|
||
|
|
}
|