[mirror] Make your go dev experience better github.com/olexsmir/gopher.nvim
neovim golang

Fix typos(UWU) (#11)

* uwu

* okn't

* h

authored by 1stvaliduser and committed by GitHub 08f9156e 0fcdceeb

Changed files
+13 -13
+13 -13
README.md
··· 2 3 Minimalistic plugin for Go development in Neovim written in Lua. 4 5 - It's not an LSP tool, the main goal of this plugin add go tooling support in neovim. 6 7 ## Install 8 ··· 18 } 19 ``` 20 21 - Also, run `TSInstall go` if install the `go` parser if not installed yet. 22 23 ## Config 24 ··· 41 42 ## Features 43 44 - 1. Install requires go tools: 45 46 ```vim 47 :GoInstallDeps 48 ``` 49 50 - This will install next tools: 51 52 - [gomodifytags](https://github.com/fatih/gomodifytags) 53 - [impl](https://github.com/josharian/impl) 54 - [gotests](https://github.com/cweill/gotests) 55 56 2. Modify struct tags: 57 - By default be added/removed `json` tag, if not set. 58 59 ```vim 60 :GoTagAdd json " For add json tag 61 :GoTagRm yaml " For remove yaml tag 62 ``` 63 64 - 3. Run `go mod` command 65 66 ```vim 67 :GoMod tidy " Runs `go mod tidy` ··· 70 71 4. Run `go get` command 72 73 - Link can has a `http` or `https` prefix. 74 75 - You can provide more that one package url. 76 77 ```vim 78 :GoGet github.com/gorilla/mux ··· 100 101 6. Generate tests with [gotests](https://github.com/cweill/gotests) 102 103 - Generate one test for spesific function/method 104 105 ```vim 106 :GoTestAdd 107 ``` 108 109 - Generate all tests for all functions/methods in current file 110 111 ```vim 112 :GoTestsAll 113 ``` 114 115 - Generate tests only for exported functions/methods in current file 116 117 ```vim 118 :GoTestsExp 119 ``` 120 121 - 7. Run `go generate` command 122 123 ```vim 124 " Run `go generate` in cwd path ··· 136 :GoCmt 137 ``` 138 139 - ## Thanks 140 141 - [go.nvim](https://github.com/ray-x/go.nvim)
··· 2 3 Minimalistic plugin for Go development in Neovim written in Lua. 4 5 + It's not an LSP tool, the main goal of this plugin is add go tooling support in Neovim. 6 7 ## Install 8 ··· 18 } 19 ``` 20 21 + Also, run `TSInstall go` if `go` parser if isn't installed yet. 22 23 ## Config 24 ··· 41 42 ## Features 43 44 + 1. Installation requires this go tool: 45 46 ```vim 47 :GoInstallDeps 48 ``` 49 50 + It will install next tools: 51 52 - [gomodifytags](https://github.com/fatih/gomodifytags) 53 - [impl](https://github.com/josharian/impl) 54 - [gotests](https://github.com/cweill/gotests) 55 56 2. Modify struct tags: 57 + By default `json` tag will be added/removed, if not set: 58 59 ```vim 60 :GoTagAdd json " For add json tag 61 :GoTagRm yaml " For remove yaml tag 62 ``` 63 64 + 3. Run `go mod` command: 65 66 ```vim 67 :GoMod tidy " Runs `go mod tidy` ··· 70 71 4. Run `go get` command 72 73 + Link can have a `http` or `https` prefix. 74 75 + You can provide more than one package url: 76 77 ```vim 78 :GoGet github.com/gorilla/mux ··· 100 101 6. Generate tests with [gotests](https://github.com/cweill/gotests) 102 103 + Generate one test for spesific function/method: 104 105 ```vim 106 :GoTestAdd 107 ``` 108 109 + Generate all tests for all functions/methods in current file: 110 111 ```vim 112 :GoTestsAll 113 ``` 114 115 + Generate tests only for exported functions/methods in current file: 116 117 ```vim 118 :GoTestsExp 119 ``` 120 121 + 7. Run `go generate` command; 122 123 ```vim 124 " Run `go generate` in cwd path ··· 136 :GoCmt 137 ``` 138 139 + ## Thanks: 140 141 - [go.nvim](https://github.com/ray-x/go.nvim)