Skip to content

x/pkgsite: omit "Output" section for examples with no output #60986

Open
golang/pkgsite
#68
@rsc

Description

@rsc

Here is an example with no output:
https://pkg.go.dev/github.com/vmg/backoff#example-Ticker

The code is here:
https://go-mod-viewer.appspot.com/github.com/vmg/[email protected]/example_test.go#L21

There are no // Output comments.

The display on pkg.go.dev should not show an "Output:" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions