Any good Go REPL implementation / tool?

Go lang is fast to compile and can be used as a script by go run prog.go. However, a REPL is more convenient for testing/trying some small pieces of code. Any good Go REPL implementation / tool?

related to an answer for: Any good Java REPL tool/implementation?
asked Apr 17 by zma (380 points)

1 Answer

Try gore https://github.com/motemen/gore

Get gore

$ go get -u github.com/motemen/gore

An example

$ gore
gore version 0.2.6  :help for help
gore> :import fmt
gore> fmt.Println("hello world!")
hello world!
13
nil

gore>

answered Sep 7 by Eric Z Ma (43,500 points)
edited Sep 7 by Eric Z Ma

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...