I'm glad to announce an updating to "goscript", which it has been
renamed to "gonow".
The changes more important are:
+ Enables run a Go file using "gonow file.go" wich is very usefull
during development when you've that file open in your editor.
It also enables to run it usig the file name. You've to insert "#!/usr/
bin/gonow" at the beginning of the file, and set its executable bit
(chmod +x file.go)
+ The compiled files are saved into a global directory when GOROOT or
GOPATH is set, else it is saved in the local directory "*.go" where
it's the source file.
The local directory is usefull to use it during boot init because
GOROOT can be into a directory which has not been mounted. Yes!!! I'm
changing my init bash scripts in Ubuntu to Go :)
=== Installation
goinstall
github.com/kless/goheader
To use it using the source file's name, you have to install it so
(since it creates a link from "/usr/bin/gonow"):
git clone git://
github.com/kless/gonow.git
cd gonow && ./Install.sh && cd -
---
https://github.com/kless/gonow