How to run go lang
code
directly from vim editor
?
e.g. currently edited file is array.go
.
What kind of commands should I use to run this code in vim?
How to run go lang
code
directly from vim editor
?
e.g. currently edited file is array.go
.
What kind of commands should I use to run this code in vim?
ok so after some trials this works: !go run %