1
0
mirror of https://github.com/palagend/vigor synced 2020-06-03 18:29:48 +00:00
vigor/init-vim-go.sh

11 lines
784 B
Bash
Executable File

#/usr/bin/env bash
set -e
export GO111MODULE=on
export GOPROXY=https://goproxy.io
go_pkg_list="github.com/klauspost/asmfmt/cmd/asmfmt github.com/go-delve/delve/cmd/dlv github.com/kisielk/errcheck github.com/davidrjenni/reftools/cmd/fillstruct github.com/mdempsky/gocode github.com/stamblerre/gocode github.com/rogpeppe/godef github.com/zmb3/gogetdoc golang.org/x/tools/cmd/goimports golang.org/x/lint/golint golang.org/x/tools/gopls@latest github.com/golangci/golangci-lint/cmd/golangci-lint github.com/fatih/gomodifytags golang.org/x/tools/cmd/gorename github.com/jstemmer/gotags golang.org/x/tools/cmd/guru github.com/josharian/impl honnef.co/go/tools/cmd/keyify github.com/fatih/motion github.com/koron/iferr github.com/cweill/gotests/..."
cd $GOPATH && go get -v $go_pkg_list