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

Go indexer: only parse top-level comment #34

@joshuabezaleel

Description

@joshuabezaleel

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 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions