Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/cover: Not registered as a tool #9086

Closed
gopherbot opened this issue Nov 11, 2014 · 2 comments
Closed

cmd/cover: Not registered as a tool #9086

gopherbot opened this issue Nov 11, 2014 · 2 comments

Comments

@gopherbot
Copy link

by felix@erbridge.co.uk:

What does 'go version' print?

go version go1.3.3 linux/amd64


What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.

1. go get golang.org/x/tools/cmd/cover
2. go tool cover

What happened?

go tool: no such tool "cover"; to install:
    go get code.google.com/p/go.tools/cmd/cover


What should have happened instead?

Usage instructions should have been printed.


Please provide any additional information below.
@ianlancetaylor
Copy link
Contributor

Comment 1:

The "go get" instruction that is printed should work for Go 1.3.
Using golang.org/x/tools/cmd/cover should work for Go 1.4.
The situation is confusing but we can't go back in time and change Go 1.3.

Status changed to Unfortunate.

@gopherbot
Copy link
Author

Comment 2 by felix@erbridge.co.uk:

I see. The announcement made me think otherwise. Thanks for clarifying.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants