README ¶ TTS This is a TTS(Text-to-Speech) Library. Usage Use google TTS api package main import ( "context" "os" "github.com/vcapi/tts" ) func main() { fs, err := os.OpenFile("hello.mp3", os.O_CREATE, 0600) if err != nil { panic(err) } defer fs.Close() ctx := context.TODO() err = tts.Google(ctx, "hello", "en", fs) if err != nil { panic(err) } } LICENSE MIT License Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Google(ctx context.Context, text, lang string, out io.Writer) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Google ¶ func Google(ctx context.Context, text, lang string, out io.Writer) error Google tts api Types ¶ This section is empty. Source Files ¶ View all Source files google.gorequest.go Click to show internal directories. Click to hide internal directories.