Skip to content

Commit 21a586d

Browse files
authored
docs: add missing context package in sample code (#566)
Signed-off-by: WANG Xu <feici02@outlook.com>
1 parent 20e5ce0 commit 21a586d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

go/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ go run chat.go
2525
package main
2626

2727
import (
28+
"context"
2829
"fmt"
2930
"log"
3031

@@ -274,6 +275,7 @@ Enable streaming to receive assistant response chunks as they're generated:
274275
package main
275276

276277
import (
278+
"context"
277279
"fmt"
278280
"log"
279281

0 commit comments

Comments
 (0)