-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite
Milestone
Description
What steps will reproduce the problem? 1. Run godoc -http=:8080 2. Go to http://localhost:8080/pkg/ 3. Click on a package that is main What is the expected output? Documentation for exported components. What do you see instead? A blank page. Which operating system are you using? Mac OS X, Linux Which version are you using? (run 'go version') Go1.1 (it worked in Go1.0) Please provide any additional information below. Our company uses Go as our primary language, and we have been successfully for a year now. All we really want is a command-line option in godoc to export main like it used to do in Go1. This is for internal reasons. We use it to distinguish finalized verses experimental functionality in our binaries, much like you would export something in a package to make it available for use. This was extremely helpful in our company Hackathon - we would communicate RPC calls to our iPhone developer without verbal communication. We got a lot done. We've used this day to day, and it has helped a lot. Now we can't do this in Go 1.1.
anhegofcherek and parthpower
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite