htgo-tts
https://github.com/MarlikAlmighty/htgo-tts/
Requirement:
Install
go get "github.com/MarlikAlmighty/htgo-tts"
Update
go get -u "github.com/MarlikAlmighty/htgo-tts"
Remove
go clean -i "github.com/MarlikAlmighty/htgo-tts"
Import
import "github.com/MarlikAlmighty/htgo-tts"
Use
speech := htgotts.Speech{Folder: "audio", Language: "en"}
speech.Speak("Your sentence.")
Use with Handlers
import (
hs "ggithub.com/MarlikAlmighty/htgo-tts"
)
speech := hs.Speech{Folder: "audio", Language: "en", Handler: &handlers.MPlayer{}}
speech.Speak("Your sentence.")
Have Fun!