Remove golang defer
article thumbnail

How to do Speech-To-Text with Go

AssemblyAI

nil { log.Fatal(err) } defer f.Close() transcript, err := client.Transcripts.TranscribeFromReader(context.TODO(), f, nil) if err != nil { log.Fatal(err) } fmt.Println(*transcript.Text) } Open Source Speech Recognition Libraries in Golang Unfortunately, the options in Go are still limited.

Python 59