LogoopenSUSE Build Service > Projects > devel:languages:go > go-gorun
Sign Up | Log In


gorun is a tool enabling one to put a "bang line" in the source code of a Go program to run it, or to run such a source code file explicitly. It was created in an attempt to make experimenting with Go more appealing to people used to Python and similar languages which operate most visibly with source code.
As an example, copy the following content to a file named "hello.go" (or "hello", if you prefer):
    package main
    func main() {
        println("Hello world!")
Then, simply run it:
    $ chmod +x hello.go
    $ ./hello.go
    Hello world!

Source Files

Filename Size Changed Actions
go-gorun.changes 622 Bytes 11 months ago Download File
go-gorun.spec 1.62 KB 11 months ago Download File
gorun-0.0.0+bzr20120610.tar.gz 42.4 KB 11 months ago Download File

Latest Revision

Marguerite Su Marguerite Su (MargueriteSu) accepted request 292287 11 months ago (revision 9)

Comments for devel:languages:go (0)