4 ms·
I suggest you try https://github.com/garyburd/go-explorer https://github.com/garyburd/go-explorer too! (From creator of godoc.org.) In short words, it's godoc w
by akavel 11y ago
I suggest you try https://github.com/garyburd/go-explorer https://github.com/garyburd/go-explorer too! (From creator of godoc.org.) In short words, it's godoc with hyperlinks (in your vim). I use it both for doc (so I don't have to switch to browser), and for project-wide navigation.
: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)