-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlang-go.clj
executable file
·30 lines (26 loc) · 1.22 KB
/
lang-go.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bb
(def go-global-tools ["github.com/mdempsky/gocode"
"github.com/uudashr/gopkgs/v2/cmd/gopkgs"
"github.com/ramya-rao-a/go-outline"
"github.com/acroca/go-symbols"
"golang.org/x/tools/cmd/guru"
"golang.org/x/tools/cmd/gorename"
"github.com/cweill/gotests/..."
"github.com/fatih/gomodifytags"
"github.com/josharian/impl"
"github.com/davidrjenni/reftools/cmd/fillstruct"
"github.com/haya14busa/goplay/cmd/goplay"
"github.com/godoctor/godoctor"
"github.com/go-delve/delve/cmd/dlv"
"github.com/stamblerre/gocode"
"github.com/rogpeppe/godef"
"golang.org/x/tools/cmd/goimports"
"golang.org/x/lint/golint"
"golang.org/x/tools/gopls"])
(defn install-go-tools []
(println "Installing go dependencies")
(doseq [tool go-global-tools]
(println "Installing" tool)
(shell/sh "go" "get" tool))
(println "Go tools installed successfully!!"))
(install-go-tools)