gorun

command module
v0.0.0-...-7d5972b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2016 License: GPL-3.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gorun

This is a fork of Gustavo Niemeyer's gorun. It lets you use a shebang line to run Go source files:

$ cat hello.go
#!/usr/bin/env gorun

package main

import "fmt"

func main() {
    fmt.Println("Hello world!")
}
$ chmod +x hello.go
$ ./hello.go
Hello world!

More info here: https://wiki.ubuntu.com/gorun

Forked from: https://launchpad.net/gorun

Installing

go get github.com/jeremyschlatter/gorun

Documentation

Overview

gorun - Script-like runner for Go source files.

https://wiki.ubuntu.com/gorun

Copyright (c) 2011 Canonical Ltd.

Written by Gustavo Niemeyer <gustavo.niemeyer@canonical.com>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址