]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: fix go generate docs
authorRuss Cox <rsc@golang.org>
Wed, 13 Jan 2021 19:40:07 +0000 (14:40 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 15 Jan 2021 20:36:53 +0000 (20:36 +0000)
commitb386c735e7582d08a938ce2bc582f931946854b4
tree99d0849efd514fc77d45158e42d8fe5777549385
parentbb5075a5259baeaa75f09db64c3860c5876a00fd
cmd/go: fix go generate docs

The docs were never updated for the change to the placement
of the DO NOT EDIT line.

Also, the description of the DO NOT EDIT line interrupted the
description of the //go:generate line, which made for some
confusing references in the text that followed. Move it lower.

Fixes #41196.

Change-Id: I6af2a199fa98d45f5ccac7cdf7e9e54257699e61
Reviewed-on: https://go-review.googlesource.com/c/go/+/283633
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/generate/generate.go