Skip to content

Commit f89133c

Browse files
authored
Update README.md
1 parent 656f6b1 commit f89133c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ import (
2828
)
2929

3030
func main() {
31-
c := gogpt.NewClient("your token")
32-
ctx := context.Background()
33-
31+
client := gogpt.NewClient("your token")
3432
resp, err := c.CreateChatCompletion(
35-
ctx,
33+
context.Background(),
3634
gogpt.ChatCompletionRequest{
3735
Model: gogpt.GPT3Dot5Turbo,
3836
Messages: []gogpt.ChatCompletionMessage{

0 commit comments

Comments
 (0)