From cb1345f3a375367f8439bba882e90348348288d9 Mon Sep 17 00:00:00 2001 From: Rebecca Stambler Date: Thu, 21 May 2020 23:24:44 -0400 Subject: [PATCH] cmd/cover: more clearly mark as deprecated Follow the conventions here: https://github.com/golang/go/wiki/Deprecated. I wonder if we could just delete it... Change-Id: I6559bab0551304ff5e109a2dffd4ff86afba5203 Reviewed-on: https://go-review.googlesource.com/c/tools/+/234898 Run-TryBot: Rebecca Stambler TryBot-Result: Gobot Gobot Reviewed-by: Peter Weinberger --- cmd/cover/README | 2 -- cmd/cover/README.md | 3 +++ cmd/cover/doc.go | 9 +++------ 3 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 cmd/cover/README create mode 100644 cmd/cover/README.md diff --git a/cmd/cover/README b/cmd/cover/README deleted file mode 100644 index ff9523d4bd..0000000000 --- a/cmd/cover/README +++ /dev/null @@ -1,2 +0,0 @@ -NOTE: For Go releases 1.5 and later, this tool lives in the -standard repository. The code here is not maintained. diff --git a/cmd/cover/README.md b/cmd/cover/README.md new file mode 100644 index 0000000000..62e60279a9 --- /dev/null +++ b/cmd/cover/README.md @@ -0,0 +1,3 @@ +# Deprecated + +NOTE: For Go releases 1.5 and later, this tool lives in the standard repository. The code here is not maintained. diff --git a/cmd/cover/doc.go b/cmd/cover/doc.go index b74d5b3ce3..f903d85083 100644 --- a/cmd/cover/doc.go +++ b/cmd/cover/doc.go @@ -6,6 +6,9 @@ Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'. +Deprecated: For Go releases 1.5 and later, this tool lives in the +standard repository. The code here is not maintained. + Cover is also used by 'go test -cover' to rewrite the source code with annotations to track which parts of each function are executed. It operates on one Go source file at a time, computing approximate @@ -17,11 +20,5 @@ be mildly confused by single statements with multiple function literals. For usage information, please see: go help testflag go tool cover -help - -No longer maintained: - -For Go releases 1.5 and later, this tool lives in the -standard repository. The code here is not maintained. - */ package main // import "golang.org/x/tools/cmd/cover"