golang / gddo

Go Doc Dot Org
https://godoc.org
BSD 3-Clause "New" or "Revised" License
1.1k stars 266 forks source link

presentation mode query parameters not recognized #556

Closed smasher164 closed 6 years ago

smasher164 commented 6 years ago

Query parameters like ?m=all should "show documentation for all declarations, not just the exported ones." However, https://godoc.org/golang.org/x/image/draw/?m=all does not display the unexported type kernelScaler and its method makeTmpBuf.

dmitshur commented 6 years ago

That query parameter applies to godoc, the command you can run locally. godoc.org doesn’t have it.

In case it’s helpful, if you want to see the source code (which includes documentation) of unexported symbols, I suggest you try gotools.org, e.g.:

smasher164 commented 6 years ago

godoc.org doesn’t have it.

Has there already been a decision to not include the query parameter on godoc.org?

shantuo commented 6 years ago

godoc.org doesn't have any query parameter. Those will just be stripped off.