Skip to content

all: move all examples to external test packages #11257

Closed
@josharian

Description

@josharian

This is an extraction from #11254.

Having the package prefix in examples is clearer than omitting it. Since examples must not make use of unexported functionality anyway, it is always ok to have them in an external test package. Let's move all examples to external test packages.

If Go 1 compatibility didn't prevent it, I'd suggest that we modify the testing package to enforce this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions