Skip to content

Commit b4105d9

Browse files
committed
refine go tools script
1 parent 6b88d4a commit b4105d9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

install_go_tools.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ go get -u -v github.com/zmb3/goaddimport
1212
go get -u -v github.com/rogpeppe/godef
1313
go get -u -v golang.org/x/tools/cmd/guru
1414
go get -u -v github.com/fatih/gomodifytags
15-
go get -u -v github.com/tpng/gopkgs
15+
if [ `uname` == "Darwin" ]
16+
then
17+
go get -u -v github.com/uudashr/gopkgs/cmd/gopkgs
18+
else
19+
go get -u -v github.com/tpng/gopkgs
20+
fi
1621
go get -u -v github.com/ramya-rao-a/go-outline

0 commit comments

Comments
 (0)