Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/exp/event: poor package comment #47154

robpike opened this issue Jul 12, 2021 · 4 comments

x/exp/event: poor package comment #47154

robpike opened this issue Jul 12, 2021 · 4 comments


Copy link

@robpike robpike commented Jul 12, 2021

I ran go doc in x/exp/event to see what it does. This is what is reported for the package comment:

% go doc 
package event // import ""

Package event provides the core functionality for observability that allows
libraries using it to interact well. It enforces the middle layer
interchange format, but allows both frontend wrappers and back end exporters
to customize the usage.

I learned nothing from this. Please provide a package comment that explains the purpose of the package.

Copy link

@ianlancetaylor ianlancetaylor commented Jul 13, 2021


@dmitshur dmitshur changed the title exp/event: poor package comment x/exp/event: poor package comment Jul 13, 2021
@gopherbot gopherbot added this to the Unreleased milestone Jul 13, 2021
Copy link

@dmitshur dmitshur commented Jul 13, 2021

Possibly related issue #36238. Also CC @stamblerre.


Copy link

@ianthehat ianthehat commented Jul 13, 2021

The package and all things below it are very very experimental, not ready for anybody to actually use, and might still just be deleted (some of the sub packages definitely will be).
If it turns out to be a success, it will move out of experimental to somewhere real.
I do think it is reasonable to ask for a better package comment even in it's current state though, to at least make that much clear to anyone looking, I know that technically applies to all of x/exp but that package is even more experimental that most right now.
I will take this bug and close it when I do that.


@ianthehat ianthehat self-assigned this Jul 13, 2021
Copy link

@gopherbot gopherbot commented Jul 14, 2021

Change mentions this issue: event: improve package documentation


@robpike robpike closed this Nov 3, 2021
gopherbot pushed a commit to golang/exp that referenced this issue Nov 9, 2021
Fixes golang/go#47154

Change-Id: I178ae897af03a9bf284e3e8110d3b1440e5b978e
Trust: Ian Cottrell <>
Run-TryBot: Ian Cottrell <>
TryBot-Result: Go Bot <>
Reviewed-by: Rob Pike <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants