Hacker News new | past | comments | ask | show | jobs | submit login

repl.it's Go REPL is quite good: https://repl.it/languages/go



I find repl.it's go REPL to be totally unsatisfactory. I don't want to have to type `package main` at the top of my REPL before being able to evaluate any expression [0]. Avoiding that sort of boilerplate is a REPL's raison d'être.

In contrast, [gore](https://github.com/motemen/gore) lets you start evaluating expressions right away [1], and provides nice REPL short-hand for importing packages [2].

[0]: https://monosnap.com/file/OIO9dwR3n85xSNIdJIapGrBhbqWS4J.png

[1]: https://monosnap.com/file/AzuB6JsqRSN5f07H1ydB5t74Qh9pSA.png

[2]: https://monosnap.com/file/J3llCwPTwAcchYJWZpVG7wdB8fFXZ1.png




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: