Skip to content

Ability to add private documentation to references #47

@arp242

Description

@arp242

Right now all the godoc comments for references are added to the Kommentaar output. Sometimes it might be useful to have just some internal/private notes.

I can't really think of an elegant way of doing that. Only way I can think of is something along the lines of:

// Foo is a bar.
//
// {private}
// Not in Kommentaar output.
type Foo struct {
    // Public stuff.
    //
    // {private}
    // This is not in the Kommentaar output.
    Name
}

but I can't say I'm especially impressed by that. Alternatives to {private} might be ---, or something else.

Need to think about it. Suggestions welcome.

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