init
This commit is contained in:
commit
55213a4826
7 changed files with 48 additions and 0 deletions
7
src/fenix.nim
Normal file
7
src/fenix.nim
Normal 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
6
src/fenix/submodule.nim
Normal 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!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue