Skip to content

Commit

Permalink
Merge pull request #250 from deepgram/jhillyerd/readme
Browse files Browse the repository at this point in the history
Fix README: pass options as pointers
  • Loading branch information
davidvonthenen authored Jun 24, 2024
2 parents c1872dc + ac10876 commit b027b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ c := client.NewWithDefaults()
dg := prerecorded.New(c)

// transcription options
options := PreRecordedTranscriptionOptions{
options := &interfaces.PreRecordedTranscriptionOptions{
Punctuate: true,
Diarize: true,
Language: "en-US",
Expand All @@ -108,7 +108,7 @@ You can find a [walkthrough](https://developers.deepgram.com/docs/live-streaming

```go
// options
transcriptOptions := interfaces.LiveTranscriptionOptions{
transcriptOptions := &interfaces.LiveTranscriptionOptions{
Language: "en-US",
Punctuate: true,
Encoding: "linear16",
Expand Down

0 comments on commit b027b64

Please sign in to comment.