summaryrefslogtreecommitdiff
path: root/community/go/go.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/go/go.install')
-rw-r--r--community/go/go.install15
1 files changed, 6 insertions, 9 deletions
diff --git a/community/go/go.install b/community/go/go.install
index 755f0a442..e0610f3c5 100644
--- a/community/go/go.install
+++ b/community/go/go.install
@@ -1,13 +1,10 @@
-post_upgrade() {
- # Friendly message to the user
- echo "Example use of the \"go\" tool as a user:"
- echo " mkdir ~/go"
- echo " export GOPATH=~/go"
- echo " go get website.com/user/module"
-}
-
post_install() {
- post_upgrade
+ # Friendly message for new users
+ echo "Example use of the \"go\" tool:"
+ echo ' mkdir ~/mygoproject'
+ echo ' export GOPATH=~/mygoproject'
+ echo ' export PATH=\$PATH:\$GOPATH/bin'
+ echo ' go get github.com/codegangsta/martini'
}
# vim:set ts=2 sw=2 et: