I followed the installation instructions here https://github.com/fatih/vim-go and ran goimports hello.go
. The output was my code with the imported package but when I opened hello.go the file did not have the code for the imported package.
Am I missing something?