7 ms·
repl.it's Go REPL is quite good: https://repl.it/languages/go https://repl.it/languages/go
by kwamenum86 9y ago
repl.it's Go REPL is quite good: https://repl.it/languages/go https://repl.it/languages/go
- jitl 9y agoI 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 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 https://monosnap.com/file/OIO9dwR3n85xSNIdJIapGrBhbqWS4J.png [1]: https://monosnap.com/file/AzuB6JsqRSN5f07H1ydB5t74Qh9pSA.png https://monosnap.com/file/AzuB6JsqRSN5f07H1ydB5t74Qh9pSA.png [2]: https://monosnap.com/file/J3llCwPTwAcchYJWZpVG7wdB8fFXZ1.png https://monosnap.com/file/J3llCwPTwAcchYJWZpVG7wdB8fFXZ1.png