Skip to content

Commit 215c456

Browse files
authored
Update go port readme.
1 parent 8f25ba7 commit 215c456

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/ports/go_port/source/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ func main() {
5252
fmt.Println(str)
5353
}
5454

55-
// Calling async function in typescript
55+
// Calling async function in TypeScript
5656
var sum int
5757
var wg sync.WaitGroup
58+
// WaitGroup is not necessary, the promise can be chained or pass value in ctx for executing res.Send(...)
5859
wg.Add(1)
5960
_, err := metacall.Await("sum",
6061
func(value interface{}, ctx interface{}) interface{} {

0 commit comments

Comments
 (0)