This repository was archived by the owner on Jan 16, 2021. It is now read-only.
Allow showing documentation for the main packageΒ #397
Open
Description
I understand that the use of the documentation that godoc generates is to help the developers that import a library, but it would be useful to devs working on a single package app to be able to generate the documentation for the main package.
I think the best way to implement this is with a parameter in the url when accessing the package name, so we don't change the default behavior, but also make it accessible in https://godoc.org/
It could also be enabled by default. This way if one wants to get the functions in the main package added to the documentation you simply write the names with a starting uppercase letter.