mirror of https://github.com/ray-x/go.nvim
Update README
parent
a67b012054
commit
f80661a710
@ -0,0 +1,23 @@
|
||||
A sample go project with minium config for go.nvim
|
||||
|
||||
Start with (may need to restart nvim after the first time)
|
||||
|
||||
```shell
|
||||
cd sampleApp
|
||||
nvim -u ../init.lua main.go
|
||||
|
||||
```
|
||||
|
||||
To start debugging, run the following commands
|
||||
```vim
|
||||
:10
|
||||
:GoBreakToggle
|
||||
:GoDebug
|
||||
```
|
||||
|
||||
To unit test, run the following commands
|
||||
```vim
|
||||
:pkg/findAllSubStr_test.go
|
||||
:10
|
||||
:GoTestFunc
|
||||
```
|
Loading…
Reference in New Issue