chore: better go configs
parent
89320851fa
commit
e6c6530ffd
|
@ -1,14 +1,14 @@
|
|||
# Go
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | ---------------- |
|
||||
| Arch Linux | `go`, `go-tools` |
|
||||
| Fedora | `golang` |
|
||||
| Snap | `go` |
|
||||
| Distribution | Package |
|
||||
| ------------ | ----------------------------- |
|
||||
| Arch Linux | `go`, `go-tools` |
|
||||
| Fedora | `golang` |
|
||||
| Snap | [Go](https://snapcraft.io/go) |
|
||||
|
||||
Add to `~/.bashrc`:
|
||||
Add to `~/.bashrc`, `~/.zshrc`:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
export GOPATH=$HOME/go
|
||||
export PATH="$PATH:$GOPATH/bin"
|
||||
```
|
||||
|
@ -25,10 +25,10 @@ export PATH="$PATH:$GOPATH/bin"
|
|||
|
||||
## Helpful
|
||||
|
||||
[goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports?tab=doc)
|
||||
[gomock](https://github.com/golang/mock)
|
||||
|
||||
[goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports)
|
||||
|
||||
[GolangCI-Lint](https://github.com/golangci/golangci-lint)
|
||||
|
||||
[panicparse](https://github.com/maruel/panicparse)
|
||||
|
||||
[gomock](https://github.com/golang/mock)
|
||||
[vim-go](https://github.com/fatih/vim-go)
|
||||
|
|
|
@ -149,7 +149,6 @@ Install [Xfce](https://wiki.archlinux.org/index.php/xfce#Installation)
|
|||
pacman -Syu xfce4 xfce4-goodies
|
||||
```
|
||||
|
||||
|
||||
Install and enable [GDM](https://wiki.archlinux.org/index.php/GDM) for GNOME:
|
||||
|
||||
```sh
|
||||
|
|
Loading…
Reference in New Issue