the personal playground of evan louie; developer, designer, photographer, and breaker of the web.
   (  )   /\   _                 (     
    \ |  (  \ ( \.(               )                      _____
  \  \ \  `  `   ) \             (  ___                 / _   \
 (_`    \+   . x  ( .\            \/   \____-----------/ (o)   \_
- .-               \+  ;          (  O                           \____
                          )        \_____________  `              \  /
(__                +- .( -'.- <. - _  VVVVVVV VV V\                 \/
(_____            ._._: <_ - <- _  (--  _AAAAAAA__A_/                  |
  .    /./.+-  . .- /  +--  - .     \______________//_              \_______
  (__ ' /x  / x _/ (                                  \___'          \     /
 , x / ( '  . / .  /                                      |           \   /
    /  /  _/ /    +                                      /              \/
   '  (__/                                             /                  \

Doom Emacs Tooling Setup

Go Module friendly setup for Go tooling in Doom Emacs.

Use this script to install the tools needed to run the (go +lsp) module in Doom Emacs: https://github.com/hlissner/doom-emacs/tree/develop/modules/lang/go.

Go >= v.16

# minimum needed for go module to work
go install github.com/motemen/gore/cmd/gore@latest
go install github.com/stamblerre/gocode@latest
go install golang.org/x/tools/cmd/godoc@latest
go install golang.org/x/tools/cmd/goimports@latest
go install golang.org/x/tools/cmd/gorename@latest
go install golang.org/x/tools/cmd/guru@latest
go install github.com/cweill/gotests/...@latest
go install github.com/fatih/gomodifytags@latest

# gopls for (+lsp)
go install golang.org/x/tools/gopls@latest

# golangci
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

Go < v1.16

# ensure you run in a directory WITHOUT a go.mod!

# use go modules!
export GO111MODULE=on

# minimum needed for go module to work
go get github.com/motemen/gore/cmd/gore@latest
go get github.com/stamblerre/gocode@latest
go get golang.org/x/tools/cmd/godoc@latest
go get golang.org/x/tools/cmd/goimports@latest
go get golang.org/x/tools/cmd/gorename@latest
go get golang.org/x/tools/cmd/guru@latest
go get github.com/cweill/gotests/...@latest
go get github.com/fatih/gomodifytags@latest

# gopls for (+lsp)
go get golang.org/x/tools/gopls@latest

# golangci
go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest