Dnia 2021-09-03, o godz. 17:45:27
Markus Heukelom <markus.heuke...@gain.pro> napisaƂ(a):

> > @Markus: I normally use browser's search function to get to the function
> > and it works well with pkg.go.dev too.

> If you vaguely remember a function name, for example "TrimPrefix" (note:
> it's actually "StripPrefix"), search obviously doesn't work.

It works, highlighting proper places. 57 of them. Just scroll and note 
highlights.

If you do want really concise form to skim the `go doc` tool output is way to 
go.
Just grep for a few letters for the hints:

`go doc net/http | grep -i pref`
 const TrailerPrefix = "Trailer:"
    func StripPrefix(prefix string, h Handler) Handler

`go doc net/http | grep -i pars`
func ParseHTTPVersion(vers string) (major, minor int, ok bool)
func ParseTime(text string) (t time.Time, err error)

Hope this helps,

-- 
Wojciech S. Czarnecki
 << ^oo^ >> OHIR-RIPE

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/20210904142439.7aff3d84%40xmint.

Reply via email to