aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorOskari Timperi <oswjk@users.noreply.github.com>2017-11-01 18:09:29 +0200
committerGitHub <noreply@github.com>2017-11-01 18:09:29 +0200
commit79045834722ea264a52f22a36ac03b712a7f15ac (patch)
tree3dee2f46dae79c8dceb2c51f856d1e7933516632 /README.md
parent530f740c0076ed274235b1949b22b206951105a7 (diff)
downloadnimrec-79045834722ea264a52f22a36ac03b712a7f15ac.tar.gz
nimrec-79045834722ea264a52f22a36ac03b712a7f15ac.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.md b/README.md
index 89c1871..15112ee 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# Rec file parser for Nim
Using this library you can parse rec files made by the
-[recutils][https://www.gnu.org/software/recutils/] software.
+[recutils](https://www.gnu.org/software/recutils/) software.
# Examples
@@ -18,10 +18,9 @@ Age: 32
You can read the names of the persons like this:
```nim
-import nimrec
-import streams
+import nimrec/[utils, record]
-for record in records(newFileStream("persons.rec")):
+for record in records("persons.rec"):
echo(record["Name"])
```