This is a simple comint-based mode for gore (command-line evaluator for golang code) which you can install from here: http://github.com/sriram-srinivasan/gore