Skip to content

Instantly share code, notes, and snippets.

@abhirockzz
Created March 26, 2019 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhirockzz/c07b0d4a94b9245551bd9b673144a687 to your computer and use it in GitHub Desktop.
Save abhirockzz/c07b0d4a94b9245551bd9b673144a687 to your computer and use it in GitHub Desktop.
func main() {
fdk.Handle(fdk.HandlerFunc(text2speech))
}
func text2speech(ctx context.Context, in io.Reader, out io.Writer) {
buf := new(bytes.Buffer)
buf.ReadFrom(in)
text := buf.String()
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment