2017-06-28 11:19:32 +00:00
|
|
|
#!/bin/sh -e
|
2017-06-28 10:54:10 +00:00
|
|
|
|
2017-05-04 15:29:07 +00:00
|
|
|
package=$__object_id
|
|
|
|
|
|
|
|
cat<<EOF
|
|
|
|
[ -f /etc/environment ] && . /etc/environment
|
|
|
|
[ -f /etc/profile ] && . /etc/profile
|
|
|
|
export GOPATH=\${GOPATH:-/opt/gocode}
|
|
|
|
go get $package
|
|
|
|
EOF
|