Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

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 😄

@emidoots
Copy link
Member

emidoots 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants