Skip to content

proposal: x/tools/{godoc,cmd/godoc}: isolate, tag, and delete godoc #59056

@adonovan

Description

@adonovan

The godoc command, golang.org/x/tools/cmd/godoc, was never redesigned to make full use of modules, has been deprecated in favor of pkgsite (https://pkg.go.dev), and has been neglected for some time. We propose to isolate, tag, and delete it from the golang.org/x/tools repository, using a similar process to the deletion of cmd/cover.

The main objection to doing so was that godoc is still useful for previewing the documentation of locally edited code, and that its replacement, pkgsite, was not well suited to the local preview use case and really needs additional features such as the ability to run without the network and to load packages on demand after startup. However, @findleyr recently added those features.

Are there any remaining reasons why we should not tag and delete cmd/godoc?

Related:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Incoming

Relationships

None yet

Development

No branches or pull requests

Issue actions