diff options
| author | John Conway <john.a.conway@gmail.com> | 2019-05-08 10:37:10 +0100 |
|---|---|---|
| committer | John Conway <john.a.conway@gmail.com> | 2019-05-08 10:37:10 +0100 |
| commit | f45b14403744f99ae265cff2e05e98e74836e501 (patch) | |
| tree | fa2bc6022bb42411bf8b001f857a107f4b6ed71f /src/feednim/submodule.nim | |
| parent | ed9adeb45b0f8d25585df8fdc5e769be021fa1b2 (diff) | |
| download | feed-nim-f45b14403744f99ae265cff2e05e98e74836e501.tar.gz feed-nim-f45b14403744f99ae265cff2e05e98e74836e501.zip | |
Changed tothe Nimble package structure
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") |
