simple package to translate a word or phrase
You'll need a Google cloud API key in key.txt under the cmd directory
or include your own however you like
to test you can type under the cmd directory go run . -target=fr -source=en -phrase="eat my shorts"
or
Under the cmd directory
go build -o translate
./translate -target=fr -source=en -phrase="eat my shorts"
or ./translate -langs=true to show all languages and their codes
Enjoy and happy translating