2012-11-22 18:49:32 +00:00
|
|
|
post_install() {
|
2013-12-02 15:18:29 +00:00
|
|
|
# Friendly message for new users
|
2014-01-27 17:32:44 +00:00
|
|
|
echo
|
|
|
|
echo 'Example use of the "go" tool:'
|
|
|
|
echo
|
|
|
|
echo ' mkdir ~/go'
|
|
|
|
echo ' export GOPATH=~/go'
|
|
|
|
echo ' export PATH=$PATH:~/go/bin'
|
|
|
|
echo ' go get code.google.com/p/go-tour/gotour'
|
|
|
|
echo
|
2014-02-19 00:51:52 +00:00
|
|
|
echo 'For adding useful go tools:'
|
|
|
|
echo
|
|
|
|
echo ' go get code.google.com/p/go.tools/cmd/benchcmp'
|
|
|
|
echo ' go get code.google.com/p/go.tools/cmd/cover'
|
|
|
|
echo ' go get code.google.com/p/go.tools/cmd/godoc'
|
|
|
|
echo ' go get code.google.com/p/go.tools/cmd/goimports'
|
|
|
|
echo ' go get code.google.com/p/go.tools/cmd/gotype'
|
|
|
|
echo ' go get code.google.com/p/go.tools/cmd/html2article'
|
|
|
|
echo ' go get code.google.com/p/go.tools/cmd/ssadump'
|
|
|
|
echo ' go get code.google.com/p/go.tools/cmd/vet'
|
|
|
|
echo
|
|
|
|
echo '#go-nuts at irc.freenode.net may provide more answers.'
|
|
|
|
echo
|
2012-11-22 18:49:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|