SHARE
TWEET

Untitled

a guest Oct 18th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. echo [work around golang.org/x]
  4. cd "%GOPATH%"
  5. if not exist src\golang.org\x mkdir src\golang.org\x
  6. cd src\golang.org\x
  7.  
  8. echo update golang.org/x/tools
  9. if not exist tools (
  10.   git clone git://github.com/golang/tools.git
  11. ) else (
  12.   cd tools
  13.   git pull
  14.   cd ..
  15. )
  16.  
  17. echo update golang.org/x/lint
  18. if not exist lint (
  19.   git clone git://github.com/golang/lint.git
  20. ) else (
  21.   cd lint
  22.   git pull
  23.   cd ..
  24. )
  25.  
  26. echo [install gocode]
  27. go get -v -u -insecure github.com/mdempsky/gocode
  28. echo [install gopkgs]
  29. go get -v -u -insecure github.com/uudashr/gopkgs/cmd/gopkgs
  30. echo [install go-outline]
  31. go get -v -u -insecure github.com/ramya-rao-a/go-outline
  32. echo [install go-symbols]
  33. go get -v -u -insecure github.com/acroca/go-symbols
  34. echo [install guru]
  35. go install -v golang.org/x/tools/cmd/guru
  36. echo [install gorename]
  37. go install -v golang.org/x/tools/cmd/gorename
  38. echo [install gotests]
  39. go get -v -u -insecure github.com/cweill/gotests/...
  40. echo [install gomodifytags]
  41. go get -v -u -insecure github.com/fatih/gomodifytags
  42. echo [install impl]
  43. go get -v -u -insecure github.com/josharian/impl
  44. echo [install fillstruct]
  45. go get -v -u -insecure github.com/davidrjenni/reftools/cmd/fillstruct
  46. echo [install goplay]
  47. go get -v -u -insecure github.com/haya14busa/goplay/cmd/goplay
  48. echo [install godoctor]
  49. go get -v -u -insecure github.com/godoctor/godoctor
  50. echo [install dlv]
  51. go get -v -u -insecure github.com/go-delve/delve/cmd/dlv
  52. echo [install gocode]
  53. go get -v -u -insecure github.com/stamblerre/gocode
  54. echo [install godef]
  55. go get -v -u -insecure github.com/rogpeppe/godef
  56. echo [install goreturns]
  57. go get -v -u -insecure github.com/sqs/goreturns
  58. echo [install golint]
  59. go install -v golang.org/x/lint/golint
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top