I've been using vim-go for about one year now. The combination of vim-go, gofmt and YouCompleteMe is all you need for a perfect Go setup. Thanks to Fatih and Val!
:GeDoc net/http --> opens a "gedoc" split
:GeDoc fmt Printf --> + jump to specific identifier
(note: full TAB-completion)
:GeDoc \html_template --> + resolve import alias like:
import html_template "html/template"
zM --> fold all
zo --> unfold current
zc --> fold current
Ctrl-] --> "follow link under cursor"
Ctrl-A --> show all! (i.e. unexported too)Enable goimports to automatically insert import paths instead of gofmt:
let g:go_fmt_command = "goimports"