aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"])
```