chore: better go configs

main
sudo pacman -Syu 2021-02-17 23:32:20 +07:00
parent 89320851fa
commit e6c6530ffd
2 changed files with 11 additions and 12 deletions

View File

@ -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)

View File

@ -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