Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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