aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/api
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2022-11-09 08:50:51 -0500
committerRuss Cox <rsc@golang.org>2022-11-10 04:08:52 +0000
commitcb6e4f08c2e760c4eb90f3ed50eca3177b7ff6ff (patch)
tree9ca28555fbe05f1a1bdeb2914a4bbfa7647a5169 /src/cmd/api
parente48fc2665e2e95eddea612fa315403d50c7beb2b (diff)
downloadgo-cb6e4f08c2e760c4eb90f3ed50eca3177b7ff6ff.tar.xz
cmd/api: point to API docs in all.bash failure
When people add new API and get an all.bash failure, they often don't know about the API checker at all. Point to the README in the failure message, to try to help them find what they need to know. Change-Id: I6b148ec414d212033b371357a5e8c6ab79bb50a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/449015 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/cmd/api')
-rw-r--r--src/cmd/api/run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/api/run.go b/src/cmd/api/run.go
index 1ae629a032..e17beb001f 100644
--- a/src/cmd/api/run.go
+++ b/src/cmd/api/run.go
@@ -63,7 +63,7 @@ func main() {
)
out, err := cmd.CombinedOutput()
if err != nil {
- log.Fatalf("Error running API checker: %v\n%s", err, out)
+ log.Fatalf("Error running API checker (see $GOROOT/api/README): %v\n%s", err, out)
}
fmt.Print(string(out))
}