I'm looking for a convenient way to quickly look up the documentation for different functions and/or packages in Go. My current approach is to google for say ioutil.ReadFile
, but that is pretty slow/inconvenient.
The ideal solution would work directly in vim or maybe in a Go interpreter(suggestions?).
E.g. in Python the documentation of a function can be shown in PyDev by hovering over a function or using the ipython interpreter with e.g. os.open?
or help(os.open)
.
How do you view specific documentation for Go?