This commit is contained in:
Emile Clark-Boman 2025-07-07 22:45:21 +10:00
commit 55213a4826
7 changed files with 48 additions and 0 deletions

7
src/fenix.nim Normal file
View file

@ -0,0 +1,7 @@
# This is just an example to get you started. A typical hybrid package
# uses this file as the main entry point of the application.
import fenix/submodule
when isMainModule:
echo(getWelcomeMessage())

6
src/fenix/submodule.nim Normal file
View file

@ -0,0 +1,6 @@
# This is just an example to get you started. Users of your hybrid library will
# import this file by writing ``import fenixpkg/submodule``. Feel free to rename or
# remove this file altogether. You may create additional modules alongside
# this file as required.
proc getWelcomeMessage*(): string = "Hello, World!"