Go interactive shell [duplicate]
There is go-eval from the same author as igo. It’s an improvement on the old exp/eval package. However, I was not able to import packages due to missing symbols, which is probably the reason for igo not supporting the import statement. It’s probably the best to go with compile/execute software as seen on play.golang.org.