Skip to content

Commit d8ceaaf

Browse files
authored
chore(go): update README.md (#4128)
1 parent 8a1984b commit d8ceaaf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

go/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ package main
4242
import (
4343
"context"
4444
"fmt"
45-
"log"
4645

4746
"github.com/firebase/genkit/go/ai"
4847
"github.com/firebase/genkit/go/genkit"
@@ -58,7 +57,7 @@ func main() {
5857
ai.WithPrompt("Why is Go a great language for AI applications?"),
5958
)
6059
if err != nil {
61-
log.Fatal("could not generate: %w", err)
60+
fmt.Println("could not generate: %s", err)
6261
}
6362
fmt.Println(answer)
6463
}
@@ -527,7 +526,7 @@ response, _ := genkit.Generate(ctx, g,
527526
Use the Genkit CLI to run your app with tracing and a local development UI:
528527

529528
```bash
530-
npm install -g genkit-cli
529+
curl -sL cli.genkit.dev | bash
531530
genkit start -- go run main.go
532531
```
533532

@@ -614,5 +613,5 @@ Explore working examples to see Genkit in action:
614613
---
615614

616615
<p align="center">
617-
Built by <a href="https://firebase.google.com/">Google</a> with contributions from the <a href="https://github.com/firebase/genkit/graphs/contributors">Open Source Community</a>
616+
Built by Google with contributions from the <a href="https://github.com/firebase/genkit/graphs/contributors">Open Source Community</a>
618617
</p>

0 commit comments

Comments
 (0)