Run Go code in Python.
pip install golang
or
pip install git+ssh://git@github.com/menduo/golang.git
import golang
code = """
package main
import "fmt"
func main(){
fmt.Println("Hello World from github.com/menduo/golang")
}
"""
golang.run_code(code)
import golang
filepath = "~/ws/contrib/golang/golang/testdata/gocode/code1/main.go"
golang.run_file(filepath)