FAQ
Basically it allows you to create basic Google Translate in Terminal :P

Get it here: https://github.com/dyatlov/gostardict

Sample use:
https://github.com/dyatlov/gostardict/blob/master/samples/dict.go

I'm new to Go so useful comments/help appreciated :)

Thanks,
Vitaly

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Kevin Malachowski at Jul 4, 2015 at 4:23 am
    Try not to ignore errors. For example, if the user sends EOF you'll get a panic when trying to reslice the string. If you check the error from ReadString you could exit early.

    Also, I personally find bufio.Scanner easier to work with when you know you'll just be reading line by line.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Vitaly Dyatlov at Jul 4, 2015 at 7:44 pm
    Thank you very much Kevin!

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJul 2, '15 at 7:28p
activeJul 4, '15 at 7:44p
posts3
users2
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase