Skip to content

x/pkgsite: clarify requirements on package names and imports for runnable examples #70611

Closed
@ross-spencer

Description

@ross-spencer

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/ocfl-archive/error/pkg/error#pkg-examples

What is your user agent?

Chrome

Screenshot

image

What did you do?

Created an example test for the package error.

What did you see happen?

Conflict in pkg.go.dev with the type error. Locally, the tests pass, and there's no conflict with the error type.

What did you expect to see?

Local and pkg.go.dev capabilities align, either with the error being caught locally in the go compiler, or the package running as expected in the go doc examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions