Skip to content

Commit 5ee0253

Browse files
committed
update doc
1 parent 55f2cd8 commit 5ee0253

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ implements Repository, IReository:
1919
This is converted to bellow
2020

2121
```nim
22-
proc exec(self:Repository, msg:string):string =
22+
proc func1(self:Repository, msg:string):string =
2323
return "Repository " & msg
2424
25+
proc func2(self:Repository, number:int):string =
26+
return "Repository2 " & $msg
27+
2528
proc toInterface*(self:Repository):IReository =
2629
return (
2730
func1: proc(msg:string):string = self.func1(msg),

0 commit comments

Comments
 (0)