diff options
Diffstat (limited to 'src/feednim/submodule.nim')
| -rw-r--r-- | src/feednim/submodule.nim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/feednim/submodule.nim b/src/feednim/submodule.nim new file mode 100644 index 0000000..1af4e81 --- /dev/null +++ b/src/feednim/submodule.nim @@ -0,0 +1,12 @@ +# This is just an example to get you started. Users of your library will +# import this file by writing ``import FeedNim/submodule``. Feel free to rename or +# remove this file altogether. You may create additional modules alongside +# this file as required. + +type + Submodule* = object + name*: string + +proc initSubmodule*(): Submodule = + ## Initialises a new ``Submodule`` object. + Submodule(name: "Anonymous") |
