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

Go indexer: only parse top-level comment #34

Open
joshuabezaleel opened this issue May 28, 2022 · 1 comment
Open

Go indexer: only parse top-level comment #34

joshuabezaleel opened this issue May 28, 2022 · 1 comment

Comments

@joshuabezaleel
Copy link
Contributor

Comment(s) that is not written directly above a particular function should be omitted.

Case in point:
https://github.com/gorilla/mux/blob/3cf0d013e53d62a96c096366d300c84489c26dd5/mux.go#L406-L410

At doctree:
image

At godoc:
image

This is just my assumption, feel free to close the issue if this is working as expected 😄

@slimsag
Copy link
Member

slimsag commented May 28, 2022

100% agree, this is a bug! If you're keen to try debugging it, feel free to!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants